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
214 stars 71 forks source link

Save MD5 checksum #27

Open hackdna opened 7 years ago

hackdna commented 7 years ago

We have a use case where uploaded files are 30GB+ and we would like to display the checksums to users. However, the checksums take a few minutes to calculate every time. Also, the final POST request to ChunkedUploadCompleteView can time out depending on the web server configuration. It looks like this can be implemented by making _md5 a field on BaseChunkedUpload model.

Also, it would be great to have an option to run the checksum calculation as a Celery task but that might be a bit more involved.