Insufficient space to copy files when "keep files in source folder" is selected.
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Open the Nextcloud Android app
2. Choose file(s) to upload, that in total are greater in size than the remaining free space on the device
3. Select "Keep file in source folder"
4. Tap upload
### Expected behaviour
Because I have selected to keep the files in the source folder, it should not matter that I have selected, for example, 2GB of files, when I have 1GB of free space on my device.
### Actual behaviour
The app displays an alert that there is insufficient space to copy the files to the Nextcloud folder, and asks if you would like to move the files instead of copying them
### Environment data
Android version: Android 10, security patch level 6 October 2019
Device model: Google Pixel
Stock or customized system: stock, un-rooted Android.
Nextcloud app version: 3.10.1
Nextcloud server version: 18.0.1
### Logs
#### Web server error log
```
N/A
```
#### Nextcloud log (data/nextcloud.log)
```
N/A
```
[Issue #4465 ](https://github.com/nextcloud/android/issues/4465) is pretty much identical, but was closed due to been inactive for a month, without receiving an answer.
If this is a setting that I need to change in the app or on the server side, then please let me know. Any help will be appreciated. Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.