Android: Resume uploading: what if file is modified inbetween

Created on 29 Aug 2017  路  4Comments  路  Source: nextcloud/android

This came up during conf and should be investigated:

  • upload a file with chunking
  • interrupt upload
  • modify file
  • "resume" upload

-> will it be a resume (appending only the newest chunks) or will it begin new (as the filesum changed)

bug needs infdiscussion stale

Most helpful comment

I'd say it would need to completely restart the upload of the file since it's very likely that the file is corrupt if it is just resumed.

All 4 comments

I'd say it would need to completely restart the upload of the file since it's very likely that the file is corrupt if it is just resumed.

Need to look into it as the resume mechanism hasn't really changed...

Not sure there's too much to discuss, it's safest if it just restarts should it detect a discrepancy between the file when starting and the file when restarting. Make that happen 馃憤

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSoko picture JSoko  路  3Comments

eppfel picture eppfel  路  3Comments

JSoko picture JSoko  路  3Comments

tobiasKaminsky picture tobiasKaminsky  路  3Comments

JSoko picture JSoko  路  3Comments