Skip to content

Is chunked uploading supported? #16

@robj

Description

@robj

I have multi-gigabyte files that always fail uploading.

Is it possible to use S3 CORS + chunked uploads as per

https://github.com/blueimp/jQuery-File-Upload/wiki/Chunked-file-uploads

?

I have tried adding the following options:

$(this).fileupload({
  maxChunkSize: 1000000, //  1 MB for testing
  maxRetries: 100,
  retryTimeout: 500,

this results in a series of successive 1MB POSTs with appropriate headers

eg.. Content-Range changes

second to last chunk:

Content-Description:
Content-Disposition:attachment; filename="VTS_01_1.VOB"
Content-Length:1001090
Content-Range:bytes 3000000-3999999/4014080

last chunk:

Content-Disposition:attachment; filename="VTS_01_1.VOB"
Content-Length:15170
Content-Range:bytes 4000000-4014079/4014080

However after the upload is complete on S3 the file is only the size of the final chunk, it is overwriting rather than appending the chunks.

Any suggestions here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions