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

Automatically clean up of chunked_uploads directories at upload completion #23

Closed PaulDDD closed 8 years ago

PaulDDD commented 8 years ago

Hello

I may have missed this somewhere. But is it possible to get the chunked upload directory to automatically clean up at upload completion?

My upload completion assigns the file to a model file field, which results in the file being copied to a new location. However, the chunked_upload '.part' data accumulates.

Thanks!

juliomalegria commented 8 years ago

Hi there,

Sorry for the (very) late response. There are a couple of ways to do what you want: