Upload of files seems to be making copies of data to be uploaded?
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Upload large files (like multi-hour videos)
- "Please wait, preparing file upload..." is displayed for very long period (several minutes)
Expected behaviour
Queuing a file for upload should be nearly instantaneous. No duplication of data should be performed.
Actual behaviour
"Please wait, preparing file upload..." message is displayed for very long period (many minutes). Given how long it takes to "prepare" a file for upload, it would seem that uploaded files are being duplicated in local storage?
Logs
Reasoning or why should it be changed/implemented?
Queuing a file for upload should be nearly instantaneous. No duplication of files (especially very large files) should be performed, since this wastes battery life unnecessarily, as well as contributing to unnecessary flash storage wear and early death/failure of your device.
Environment data
iOS version: iOS 18.6.2
Nextcloud iOS app version: 7.1.1.0
Server operating system: Debian 12 amd64
Web server: Apache2 2.4.62
Database: MariaDB 10.11.11
PHP version: 8.3.0
Nextcloud version: 25.0.13
I'm also having this issue and at times it's impossible to upload photos without losing a few here and there.
Queuing a file for upload should be nearly instantaneous.
I agree. Queuing for upload should be instantaneous. No "Please wait, preparing file upload..." should be displayed. This has been the behaviour for years until sometime this year I think.
No duplication of data should be performed.
this check needs to be performed so that the app knows if the image is duplicated or not. I think that if the above point is fixed, this should not be an issue.
@sdalmeida Clarification: My comment about "duplication" was not about avoiding duplication of uploaded images, but that the image data should not be copied within the device as part of the "preparing to upload", although it seems to be.