seadroid icon indicating copy to clipboard operation
seadroid copied to clipboard

[Feature] Auto-sync

Open ghost opened this issue 13 years ago • 31 comments

Is it planned/possible to have auto-syncing capabilities in the android app, possibly select files, or simply an entire folder.

This would make it a lot more useful for doing work on Android, reducing the effort to get files onto your other devices

ghost avatar Feb 25 '13 09:02 ghost

Since Android are too much different from desktop, we don't have resource/time to implement syncing algorithm as in desktop.

Maybe Ubuntu tablet is a good choice in the future.

freeplant avatar Feb 25 '13 10:02 freeplant

It's not possible to use the current upload/download functionality in the android app to sync individual files. For things like my password database and todotxt list this would be ideal.

Possibly use http://developer.android.com/reference/android/os/FileObserver.html for watching file changes.

But if you consider it out of scope that's fine. Perhaps in my free time I'll try and do it myself.

ghost avatar Feb 25 '13 10:02 ghost

I think syncing individual files is not hard. If you have time, you can help to implement it.

We will also try to implement it when we finish other major tasks (about two months later).

freeplant avatar Feb 25 '13 11:02 freeplant

Hi, developers;

I used to use my dropbox account with dropsync to sync multiple folders (like Camera, Music...) with my android, but their free storage, is too limited. When I found this project, I get really excited. I installed debian into an old netbook to be the server, I plugged an 150GB external HDD, and setup the server. Then I installed the client in my computers, and works fine! But then, I realized that the sync feature is not implemented yet in android... Now I'm using both, seafile as main, and dropbox as bridge between seafile and my smartphone. I hope this feature will be implemented soon to stop using dropbox as a bridge, and avoid the dropbox limited storage problem.

Thank you!

alomsimoy avatar Nov 02 '13 16:11 alomsimoy

We will keep this issue in mind. Maybe we could port the client for Linux desktop to Android.

2013/11/3 Alex Piqueras [email protected]

Hi, developers;

I used to use my dropbox account with dropsync to sync multiple folders (like Camera, Music...) with my android, but their free storage, is too limited. When I found this project, I get really excited. I installed debian into an old netbook to be the server, I plugged an 150GB external HDD, and setup the server. Then I installed the client in my computers, and works fine! But then, I realized that the sync feature is not implemented yet in android... Now I'm using both, seafile as main, and dropbox as bridge between seafile and my smartphone. I hope this feature will be implemented soon to stop using dropbox as a bridge, and avoid the dropbox limited storage problem.

Thank you!

— Reply to this email directly or view it on GitHubhttps://github.com/haiwen/seadroid/issues/4#issuecomment-27625043 .

freeplant avatar Nov 03 '13 02:11 freeplant

I also look forward to this feature of android picture syncing to seafile.

resnostyle avatar Nov 19 '13 20:11 resnostyle

This is obviously the one feature missing to make it a far superior alternative to owncloud. Frustrated oc (like myself) users will move to sf in troves!

dansan avatar Jan 07 '14 21:01 dansan

can someone provide any pointers what would have to be done to implement this?

discipolo avatar Jan 30 '14 01:01 discipolo

Currently the webdav extension and FolderSync app in Android can be used to sync files.

2014-01-30 discipolo [email protected]:

can someone provide any pointers what would have to be done to implement this?

Reply to this email directly or view it on GitHubhttps://github.com/haiwen/seadroid/issues/4#issuecomment-33653254 .

freeplant avatar Jan 31 '14 04:01 freeplant

Can I ask why this was closed. There was a work-around provided but it isn't a proper solution.

kevincox avatar Apr 25 '14 13:04 kevincox

i agree, also @freeplant: it would be great if you could give some pointers what would need to be done to get syncing individual files working (you said its not so hard, can you give us developers some pointers what to look at?)

discipolo avatar Apr 26 '14 20:04 discipolo

Every file has a unique ID that related to its content. Given a file path, you can use this API https://github.com/haiwen/seafile/wiki/Seafile-web-API#check-file-detail to check whether the file ID is changed. If it is changed, you can update the local version.

Seadroid currently monitor files' change. If a file is changed locally, it will be upload to the server automatically.

freeplant avatar Apr 27 '14 02:04 freeplant

I tried to use the FolderSync with the webdav option, but without success.. Anybody got any luck with it? Maybe my connection configuration was wrong...

iurycarlos avatar Jun 11 '14 14:06 iurycarlos

The solution FolderSync + Seafile WebDav is working pretty well for me. (https://github.com/haiwen/seafile/wiki/Seafile-WebDAV-Server)

If you are backing up SDCard stuff like pictures to the seafile server with one way sync, the only problem you have is that you will lose the modified date of the picture files in your seafile library, foldersync/webdav does not support that (http://www.tacit.dk/foldersync/faq#Q26).

But you got a bigger problem if you are using two way sync because of this behaviour: once everything is synced to seafile and every file date got changed(!), the next webdav sync will download every picture and you lose your file date on your phone too!

It would be very nice if there was a "real" sync feature in the seafile android client, which preserves the file date.

ranc1d avatar Jul 11 '14 13:07 ranc1d

I would really really appreciate an Auto photo-Upload function for Android. This is the only feature I need to bring my wife from Dropbox to Seafile.

Raknison123 avatar Jul 17 '14 21:07 Raknison123

Raknison123 said it: Why are you talking about file changes? Pictures and videos made with your cellphone will never change on your phone. Its just a one way upload to the server. You don't need no sync, or would you like to have all your 100 GB Pictures and Videos from the last 10 years on your phone? Me neither! What the user wants is

  1. A backup if the phone crashes, drowns, or gets lost.
  2. Have the photos and videos automatically copied to the pc without connecting a cable (even here, a one way sync would be enough, because one moves the photos from there into some sort of Album in another directory, where they will be sorted and edited (red eye,...) .
  3. A checkbox to delete the files on the phone, when they are synced, so you can go on taking pictures, with no need to think about memory getting full.
  4. A checkbox to sync only when WLan is connected.
  5. The direction vice versa: A one way download to the phone: a folder, where I can throw mp3 in, and when they vanish, I know they are on my phone ready to be listened to. No sync neccessary, as I don't want to have 150 GB of Music on my phone (90% of them I don't want to listen to at the moment). If don't like the music om my phone, I delete it completely and throw another bunch of mp3s into that "to phone" folder. That should be possible to be programmed in a few hours. Aksels

Aksels73 avatar Jul 18 '14 19:07 Aksels73

...i'm a user too and i said what i want. For me the best possible solution would be if the android client behaves like the windows client. If there is a file change (add/mod/del) on one side, it will be synced instantly to the other side (if connected to wlan) - preserving the file date!

ranc1d avatar Jul 21 '14 08:07 ranc1d

But that is the point! Behaving like the windows client is complicated and needs many hours of programming. Read my post and think again, if you really need sync in both directions. If more people vote for one way..... That could be implemented faster.

Aksels73 avatar Jul 21 '14 13:07 Aksels73

There are good reasons apart from backing up photos to have a real sync. E.g. I'd like to synchronize my notes, which are plain text files, and be able to edit them on all of my devices.

languitar avatar Jul 21 '14 13:07 languitar

you're right aksels, a functional oneway sync would be a huge improvement!

but like languitar, i'd like to manage my music/pictures/docs from my phone and from other devices. seafile should keep the folders identical on all devices and backing up them at the same time.

ranc1d avatar Jul 21 '14 13:07 ranc1d

I don't say there should never be a complete sync on Android. But with one way backup 90% of the users would be happy. And freeplant said: "Since Android are too much different from desktop, we don't have resource/time to implement syncing algorithm as in desktop." That means this feature needs time. But one way should be up and running in no time, since it is much easier to implement. Aksels

Aksels73 avatar Jul 22 '14 07:07 Aksels73

+1 for uni-directional sync (down). the common usecase is just having all your stuff with you when you're on the go. this would be a great improvement and would allow me to abandon my dropbox accout.

sbeuttler avatar Aug 19 '14 08:08 sbeuttler

+1 for uni-directional sync

momo-aux avatar Aug 28 '14 08:08 momo-aux

Also +1 for uni-directional sync.

With this feature seafile gets better than owncloud (owncloud has this feature).

But please consider: Seafile works great on desktop pc. But what should me help this, when it is not possible to sync my files to/from my mobile devices (and meanwhile everybody has 1 or 2 smartphones, 1 or 2 tabletts beside his 2 pc's and a laptop). Automatically upload of pictures and/or movies from Android to the cloud were great and i think not really a big thing to implement? But with a bi-directional sync possibility it were not just better than owncloud, it were better than dropbox. Then it were the best cloud tool that exists, in my eyes...

Perfect were if it were possible to select on Android, if sync is up, down or bi-directional.

irmlerc avatar Sep 26 '14 08:09 irmlerc

The camera upload was released for android! Thanks Seadroid.

Bryan

On Fri, Sep 26, 2014 at 4:49 AM, irmlerc [email protected] wrote:

Also 1 for uni-directional sync.

With this feature seafile gets better tham owncloud.

But please consider: Seafile works great on desktop pc. But what should me help this, when it is not possible to sync my files to/from my mobile devices (and meanwhile everybody has 1 or 2 smartphones, 1 or 2 tabletts beside his 2 pc's and a laptop). Automatically upload of pictures and/or movies from Android to the cloud were great and i think not really a big thing to implement? But with a bi-directional sync possibility it were not just better than owncloud, it were better than dropbox.

Perfect were if it were possible to select on Android, if sync is up, down or bi-directional.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seadroid/issues/4#issuecomment-56935448.

resnostyle avatar Sep 26 '14 11:09 resnostyle

Great! Amazing! But i have a question: do the app sync only on wifi or do it no matter the connection type? Thanks! Em 26/09/2014 08:03, "Bryan Pearson" [email protected] escreveu:

The camera upload was released for android! Thanks Seadroid.

Bryan

On Fri, Sep 26, 2014 at 4:49 AM, irmlerc [email protected] wrote:

Also 1 for uni-directional sync.

With this feature seafile gets better tham owncloud.

But please consider: Seafile works great on desktop pc. But what should me help this, when it is not possible to sync my files to/from my mobile devices (and meanwhile everybody has 1 or 2 smartphones, 1 or 2 tabletts beside his 2 pc's and a laptop). Automatically upload of pictures and/or movies from Android to the cloud were great and i think not really a big thing to implement? But with a bi-directional sync possibility it were not just better than owncloud, it were better than dropbox.

Perfect were if it were possible to select on Android, if sync is up, down or bi-directional.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seadroid/issues/4#issuecomment-56935448.

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seadroid/issues/4#issuecomment-56947804.

iurycarlos avatar Sep 26 '14 11:09 iurycarlos

if you mean camera upload part, it uploads only on wifi right now

logan676 avatar Sep 28 '14 02:09 logan676

Just fyi. You have some duplicates (or at least very similar requests) of this scattered around here. So far I noticed: https://github.com/haiwen/seadroid/issues/55 (here I noticed a nice solution from a user perspective) https://github.com/haiwen/seadroid/issues/13

tmerten avatar Oct 21 '14 10:10 tmerten

I would certainly like to have a uni-directional sync feature (both file-wise and directory-wise).

vladipus avatar Oct 22 '14 16:10 vladipus

Yeah! The same feature of the photo auto updater, on selected folders in the device will be great!!

2014-10-22 14:31 GMT-02:00 Vladislav Turbanov [email protected]:

I would certainly like to have a uni-directional sync feature (both file-wise and directory-wise).

— Reply to this email directly or view it on GitHub https://github.com/haiwen/seadroid/issues/4#issuecomment-60113862.

Iury Carlos Engenheiro Eletricista

iurycarlos avatar Oct 22 '14 16:10 iurycarlos