juliomalegria / django-chunked-upload

Upload large files to Django in multiple chunks, with the ability to resume if the upload is interrupted.
MIT No Attribution
218 stars 73 forks source link

Upload multiple files #16

Open sorennorrby opened 8 years ago

sorennorrby commented 8 years ago

Dear Sir, I am trying to build a service where you could upload several files with django_chunked_upload. If I try to upload two files. The coleteUploadView is called twice but in you demo implementation md5 checksum is called on data.files[0]. so the second time the uploadCompleteView is called the error message 'checksum do not match' which is an rather obvious answer as md5 checksum is only calculated on the first file. Could it be possible to iterate over the files and callculate md5 and call completeUploadView separately for each file, or at least reset and recalculate md5? Any help would be appreciated!

Yours truly

Soren Norrby

tcztzy commented 8 years ago

I write a plugin for supporting multiple file chunked upload. https://github.com/tcztzy/django-multiple-file-chunked-upload which is modified from this app. I wrote this plugin for meeting my boss's demand. BUT, I would not recommend that multiple file upload and chunked upload simultaneously. If you want to upload multiple big files, FTP will be a better choice.