Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-way file sync for specific folders or files. #3

Closed
untitaker opened this issue Oct 29, 2012 · 55 comments
Closed

Two-way file sync for specific folders or files. #3

untitaker opened this issue Oct 29, 2012 · 55 comments
Assignees
Labels
Milestone

Comments

@untitaker
Copy link

Currently I've been doing this with an app called "Folder Sync".

@maulikg
Copy link

maulikg commented Nov 9, 2012

Do we have two way sync for Android App? Currently any file updated from Android Device is not getting synced back to the server.

@untitaker
Copy link
Author

No, we don't. Hence this issue.

@rperezb
Copy link

rperezb commented Nov 19, 2012

We are working on improving this feature

@untitaker
Copy link
Author

I just recently realized what the "Keep file updated" option is supposed to do. It seems not to recognize changes of the file with certain editors. I would suggest to

  • Add a button "overwrite remote with local" or "upload"
  • Rename the "refresh" button to "overwrite local with remote" or "download"

just to bypass this issue.

The editor causing trouble for me is VIM Touch.

@untitaker
Copy link
Author

Couldn't we ditch FileObserver and just compare md5 hashes (or the last-modified date) when opening up the view of a file?

@davivel
Copy link
Contributor

davivel commented Jan 25, 2013

Files in the ownCloud account can be opened in Android from other apps with no intervention of the ownCloud app; for instance, from any regular file browser. So me don't want to ditch FileObserver.

Maybe we could add the extra comparison when the details of the file are seen in the app.

@untitaker
Copy link
Author

This would be extremely useful. Maybe combined with a small widget to trigger this extra comparison.

@untitaker
Copy link
Author

For anybody that is currently experiencing the issue of his files not being updated: Unchecking and checking "Keep file up-to-date" seems to trigger a sync.

@jancborchardt
Copy link
Member

Relevant pull request #116.

@icewater
Copy link

Not sure if this would fall under this issue: is it possible to download an audio file with the client without playing it? I'm ok with syncing music files individually if I must, but the client seems to play them automatically after download.

@laryllian
Copy link

@icewater This is not directly related, but you can click on a file to get to its details view and immediately return to the file list using the back button. The file will then be downloaded in the background and not opened.

@davivel
Copy link
Contributor

davivel commented Feb 18, 2014

@icewater , you can long press on a file in the list, select 'details', and then the option 'download' in the menu on the top right corner.

@laryllian , if you get a download as you described.... that is a bug :S

@jancborchardt
Copy link
Member

Hm, it seems correct as @laryllian describes. Going to the file should download it, then going back should still download it in the background but of course let you navigate other files.

@davivel
Copy link
Contributor

davivel commented Feb 18, 2014

Oh! Both of you are right, I missed the point, I read 'details view' and immediatelly though he did a long press instead of a single click.

@laryllian
Copy link

@jancborchardt Yes, this is my work-around untill I can "just download" whole folders. If you will only add the functionality of a two-way-sync, then this will become my new work-around untill I can just download whole folders. ;-)

@jknockaert
Copy link

I have been using FolderSync, but it seems that this app is no longer developed.
While using FolderSync I noted that files started to disappear from my account. What actually happened is that random files got deleted from the microsd card in my phone (not sure why), and subsequently the removal was propagated to my owncloud account by two-way sync. I worked around this issue by switching to one-way sync, an option provided by FolderSync that I would highly recommend to consider for the owncloud app as well.

@davivel
Copy link
Contributor

davivel commented Aug 11, 2015

@jknockaert , this feature is currently in active development in the OC app. We'll be more careful automatic deletions. Historically, this has not been a problem with our app because, in case of doubt, we don't delete files automatically. We think that running out of local storage is not as bd as losing information.

@jknockaert
Copy link

@davivel Well I think the main point of automatic syncing is that it goes automatically. So automatic deletions would be part of that. I just wanted to highlight that there are a number of sync-scenarios that ideally should be covered. If you just want to keep a local copy of an online-managed pdf-archive you typically want local copies to be (agressively) deleted when the remotes are gone but not inversely, so strict one-way downstream syncing. But one may even want to set the sync-scenario on a folder-specific base, e.g. one folders one-way (down), another one-way up and still another folder two-way.

@davivel
Copy link
Contributor

davivel commented Oct 30, 2015

Another step forward: manual two-way synchronization for folders has just been merged, and will be availabe in release 1.8.1. "Manual" means the user long-clicks on a folder and may select the option "Synchronize" to trigger the two-way synchronization.

Next step: favoirte folder (also known as 'kept-in-sync' folders), to do it automatically.

@aroquen
Copy link

aroquen commented Oct 31, 2015

Happy to hear that! BTW why should synced folders be called "favorite" instead of... ehm... "synced"?

@drkmccy
Copy link

drkmccy commented Nov 3, 2015

I agree, "favorite" is the term used in the web console for frequently used files. It will be confusing to use the term "favorite" for 2 different behaviors.

@davivel
Copy link
Contributor

davivel commented Nov 4, 2015

I agree with both of you, there is a general agreement on the confussion, indeed. I'm using the word "favorite" because it's the current wording in the app, but will be updated soon.

That detail is probably best to be discussed in #1136 .

@rperezb
Copy link

rperezb commented Nov 5, 2015

Closed via:#1109
About the wording, I encourage you to comment on #1136 thx!

@rperezb rperezb closed this as completed Nov 5, 2015
@davivel
Copy link
Contributor

davivel commented Nov 12, 2015

For any of you missing details about this issue, let's follow up the conversation in #1136 .

Thx

@helmo
Copy link

helmo commented May 25, 2016

I'm requesting to bountysource to move to $90 bounty on this issue to #1136

@brianjmurrell
Copy link

@davivel commented on 11 Aug 2015

this feature is currently in active development in the OC app

Since it's nearly a year later, just wondering if there is any news on this.

nganntk pushed a commit to projectkit/pkdrive-android that referenced this issue Aug 4, 2017
nganntk pushed a commit to projectkit/pkdrive-android that referenced this issue Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests