nextcloud / nextcloud/ios

Maintain the list of uploaded files or something similar (aka: preventing upload of already present files)

Open
#1,582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Use the latest app version from Testflight version
  2. to have like 200 files to upload into server
  3. the upload is not working correctly due to unknown reason
  4. install previous version from Testflight for more tests
  5. all client configuration is reset
  6. remember the previous configuration
  7. configure the app
  8. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.