Skip to content

Improve chunked upload - #17508

Open
alperozturk96 wants to merge 9 commits into
masterfrom
improve-chunked-upload
Open

Improve chunked upload#17508
alperozturk96 wants to merge 9 commits into
masterfrom
improve-chunked-upload

Conversation

@alperozturk96

Copy link
Copy Markdown
Collaborator

@github-actions

Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/32365738081/artifacts/9405404973
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3232
Correctness5959
Dodgy code207207
Experimental11
Malicious code vulnerability22
Multithreaded correctness2526
Performance3939
Security1919
Total384385

SpotBugs increased!

@daniele-verducci daniele-verducci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Alper, I tested:

  • file under server's advertised chunk size in normal folder
  • file over server's advertised chunk size in normal folder (uses chunked upload)
  • file under server's advertised chunk size in encrypted folder
  • file over server's advertised chunk size in encrypted folder (uses chunked upload)

Works flawlessly.

Tried to test the upload on slow connection as reported in the issue, I used the emulator's trottling, works but in that case also the current stable worked for me so not much to compare there...

Checked the code and seems nice to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chunked upload ignores server's files.chunked_upload.max_size; uploads from slow networks fail

2 participants