nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.2k stars 1.75k forks source link

Not download, just sync a file to the device, so opening and modifing will affect the synced version #10332

Open hooger opened 2 years ago

hooger commented 2 years ago

Is your feature request related to a problem? Please describe.

My workflow is the following.

  1. have a file on my desktop
  2. drop into the nextcloud folder which is synced -> file appears on my nextcloud server
  3. see the file on my android device (ebook reader)
  4. open the file on the android device
  5. modify the file on the android device and save it with the single Save button
  6. I sync the modified file back to the server
  7. open the synced file on my desktop

Now the problem is the following: during step 4, it is downloaded to a Download folder (both tapping to open, or pressing 3dot->Download leads to this action) and when I save my file the Download/filename version is overwritten and not the media/nextcloud/myname/path/to/filename version. Which means, during step 6 nothing happens, as the file is unchanged. I have to remove the old file and upload the new or do some file management magic which is not so handy on a touch device.

Describe the solution you'd like

I would love to see a 3dot option like Sync file, or something like that beside Download

Describe alternatives you've considered

I already have an alternative, that is cubersome, and somehow feels like a hack/workaround for an issue that this app can clearly fix. I think that wanting to modify a file on some tool that is created for the task (like an e-ink device to underline text, or sign a contract, or modify an image on an Ipad...) is a need that is present with a lot of people.

Additional context

I use the Fdroid version 3.20.1 on Android 10. I've seen this #9981 , maybe that will also solve my issue? Is it known what is the status, or ETA of that PR? Also if my workflow can be upgraded I'm happy to hear about it!

Best regards, Gergely

hooger commented 2 years ago

I descovered that it is possible to sync, but only folders. It (mostly) does what I aim, as it downloads the files into the storage directory, which can be opened, modified, saved, and resynced. However, there is no such option for single files. Can it be implemented?