# Resumable uploads with upload module

**URL:** <https://www.ruby-forum.com/t/resumable-uploads-with-upload-module/207795>\
**Category:** NGINX\
**Created:** [June 2, 2011, 8:27pm UTC](https://www.ruby-forum.com/t/resumable-uploads-with-upload-module/207795 "2011-06-02T20:27:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [June 2, 2011, 8:27pm UTC](https://www.ruby-forum.com/t/resumable-uploads-with-upload-module/207795/1 "2011-06-02T20:27:02Z")

</div>

Hi, I haven’t found a lot of information on what would seem to me a very  
interesting and useful feature: the upload modules upload\_resumable  
directive and how to implement a client that supports the protocol  
stated here: [http://www.grid.net.ru/nginx/resumable\_uploads.en.html](http://www.grid.net.ru/nginx/resumable_uploads.en.html)

Two questions to the developers or people using it:

1. What kind of control (if any) do we have on how the resumable  
uploads are handled, particularly I wonder how long a partial upload is  
held by nginx and if that can be configured: Say I upload the first  
chunk and then never upload the rest (a crash, internet failure etc), is  
the first chunk kept in memory/disk for ever?

2. My current processes do multipart/form-data POST to nginx to be  
handled by a django backend. I upload a file and the form data with  
metadata pertaining to that file. The protocol clearly states that  
multipart/form-data content dispositions are now allowed. Is there  
someway around this? I need to upload metadata along with the file  
upload to determine what to do with the file.

Thanks!

Daniel.

Posted at Nginx Forum:

> **[Resumable uploads with upload module](https://forum.nginx.org/read.php?2,203367,203367#msg-203367)**
>
> Hi, I haven't found a lot of information on what would seem to me a very interesting and useful feature: the upload modules upload\_resumable directive and how to implement a client that supports the protocol stated here:...
