•  
     
    story #11296 upload files by chunk instead of fat form submit
Summary
Empty
upload files by chunk instead of fat form submit

I can handle arbitrary file number and size and control it server side

Functionaly nothing change for the end user: the drop files and it's uploaded on the server.

Technically:

2 new REST routes:

  • POST to create the file
    • the version is "un-published" until all chunks are uploaded
    • there cannot be 2 concurrent upload of version for the same file
  • PATCH to send chunks
    • Last chunk is identified so the file can be marked as published
    • If patch > to a configured size a 400 error is thrown an uploaded chunks are discarded

In addition to that, in SYSTEM_CHECK (every 30 minutes) files partially uploaded not published are discareded (given a resonnable delay to avoid discarding a file being currently uploaded).

Empty
Empty
Status
Canceled
Development
Empty
Empty
Details
#11296
Manuel Vacelet (vaceletm)
2018-12-20 10:27
2018-03-22 09:55
3507

References

List of items referenced by or referencing this item.

Follow-ups