Maintain the list of uploaded files or something similar (aka: preventing upload of already present files)
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Use the latest app version from Testflight version
- to have like 200 files to upload into server
- the upload is not working correctly due to unknown reason
- install previous version from Testflight for more tests
- all client configuration is reset
- remember the previous configuration
- configure the app
- enable the checkbox to "upload all files" from my iPhone
Expected behaviour
Upload only files that are not already present into server at the same path/directory
Actual behaviour
Seems all files are uploaded into the same place. Fortunally no duplicates found, seems the upload is only to check the file
Reasoning or why should it be changed/implemented?
IMHO, No one should consume time and resources to upload hundred of files into the same place only for checking if is already present, without any other reason. IMHO, maybe can using a checksum or filename and size or something similar to verify if a file is already present?
Environment data
iOS version: 14.4.2
Nextcloud iOS app version: 3.5.0.11
Server operating system: Debian
Web server: nginx
Database: postgresql - Debian 13.2-1.pgdg100+1
PHP version: PHP 7.3.27-1~deb10u1
Nextcloud version: 21.0.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload-all flow described for iOS 14.4.2, Nextcloud iOS 3.5.0.11, and Nextcloud 21 with files that already exist on the server. The work is done when files already present at the same path are skipped instead of being uploaded for checking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100