-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Enhancing Auto-Upload Functionality: Preventing Redundant Sub-Folder Uploads #14462
Comments
Stumbled across this as well. On Android I had previously selected "Camera" for upload, suddenly had filed double-uploaded for "DCIM/Camera" as well. (As well as other subfolders of DCIM). The app only shows/offers you folders for adding once you have "images" or "videos" (of that certain type) in the folders. Once you selected that folder for upload it will upload those kind of files. Manually placing a dummy image and video in the "DCIM"-folder (which is above "Camera") allowed to add sync-entries for both images and videos for DCIM - and all subfolders. After having discovered that both "Camera" and "DCIM/Camera" got uploaded (redundant) I had to remove Camera manually and merge folders on the server to resolve the double-upload. |
When users select a directory for auto-upload and then separately select a subdirectory of the same directory for auto-upload, files from the subdirectory are uploaded twice. We can improve the user experience by addressing this scenario:
On the Auto Upload screen, if subdirectories already scheduled for auto-upload, app should not show as selectable options for these subdirectories.
With the release of the new app version, we can implement a database migration to identify and remove unnecessary nested directories from the database
For custom folder setups, the app should display a clear warning when a user selects sub-directories that may result in duplicate file uploads. This will allow users to make informed decisions and avoid unexpected behavior.
The text was updated successfully, but these errors were encountered: