nextcloud / nextcloud/ios

Uploading multiple files with “Save to Files” fails, says it “doesn’t exist”

Open
#1,093 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Uploading multiple files or photos to Nextcloud with Save to Files should mark them for upload correctly and quickly.

Actual behavior

Selecting multiple files from Files or media from Photos, then using Save to Files to try to save to Nextcloud gives the error:

Can’t Copy “Filename.EXT”

The file “Filename.EXT” couldn’t be copied because it either doesn’t exist or the folder it is being copied to doesn’t exist.

If you do a single file/photo at a time, then it goes through, but doesn’t actually upload anyway thanks to issue #1018 that I reported long ago.

670ADC0A-9AC3-4112-814C-7D48C62CE6D9

Steps to reproduce

Select multiple files from the Files app or multiple media from the Photos app, press the share button, and use Save to Files. Choose any location inside Nextcloud including the root directory. Press Save.

iOS version

13.3

App version

2.25.3.6

Server configuration

Operating system: Debian (Docker)

Web server: Apache?

Database: mysql 10.4.11

PHP version: 7.3.13

Nextcloud version: 16.0.4

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 Save to Files share flow with multiple files from Files or Photos, using the reported iOS and app versions as context. Trace the upload handoff for multiple selections and compare it with the single-file path; done means multiple items are accepted, saved to a Nextcloud location, and actually uploaded rather than showing the copy error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.