# Upload module 2.2.0

**URL:** <https://www.ruby-forum.com/t/upload-module-2-2-0/195663>\
**Category:** NGINX\
**Created:** [September 27, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663 "2010-09-27T21:20:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [September 27, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/1 "2010-09-27T21:20:55Z")

</div>

Greetings!

This release of upload module opens a new branch and new feature:  
resumable uploads.

Resumable uploads were tested on [Mail.ru](http://Mail.ru)’s file exchange service:  
[files.mail.ru](http://files.mail.ru)

They were very kind to publish sources of their Silverlight uploader  
that could be used with this version of upload module:

> **[GitHub - dmitry-dedukhin/MrUploader: Silverlight file uploader](https://github.com/dmitry-dedukhin/MrUploader)**
>
> Silverlight file uploader. Contribute to dmitry-dedukhin/MrUploader development by creating an account on GitHub.

You also can use protocol specification to create your own resumable  
uploader on your favorite language:  
[http://www.grid.net.ru/nginx/resumable\_uploads.en.html](http://www.grid.net.ru/nginx/resumable_uploads.en.html)

Changes in version 2.2.0:

- Added feature: resumable uploads
- Added feature: allow to use $variables in “upload\_pass” directive  
(Piotr S.)
- Added feature: allow module’s directives inside if statements (David  
Backeus)
- Added feature: directive upload\_tame\_arrays and ability to do some  
magic with php arrays

Please see this page for details:  
[http://www.grid.net.ru/nginx/upload.en.html](http://www.grid.net.ru/nginx/upload.en.html)

–  
Best regards,  
Valery K.

---

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [September 28, 2010, 7:17am UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/2 "2010-09-28T07:17:56Z")

</div>

Hello Valery K.,

this sounds really good. Do you know if there is a way to  
send a byte range with curl or some other command line tool?

Best regards

Elena Z.

-------- Original-Nachricht --------

> Datum: Mon, 27 Sep 2010 21:19:38 +0200  
> Von: Valery K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> An: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Betreff: upload module 2.2.0

> that could be used with this version of upload module:  
> (Piotr S.)  
> Valery K.
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 fÃ¼r nur 19,99  
Euro/mtl.!\*  
[http://portal.gmx.net/de/go/dsl](http://portal.gmx.net/de/go/dsl)

---

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [September 28, 2010, 11:46am UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/3 "2010-09-28T11:46:05Z")

</div>

----- Elena Z. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello Valery K.,
> 
> this sounds really good. Do you know if there is a way to  
> send a byte range with curl or some other command line tool?

-H command line switch.

> > Betreff: upload module 2.2.0  
> > They were very kind to publish sources of their Silverlight uploader
> > 
> > - Added feature: allow to use $variables in “upload\_pass” directive  
> > Best regards,  
> > [http://portal.gmx.net/de/go/dsl](http://portal.gmx.net/de/go/dsl)
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

## –

Regards,  
Valery K.

---

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [September 29, 2010, 5:21pm UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/4 "2010-09-29T17:21:41Z")

</div>

-C might simplify things a bit as well.

----- Valery K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > that could be used with this version of upload module:  
> > > (Piotr S.)  
> > > Valery K.
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

## –

Regards,  
Valery K.

---

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [September 29, 2010, 6:19pm UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/5 "2010-09-29T18:19:40Z")

</div>

Thanks for your help, i will try it tomorrow.

> > > send a byte range with curl or some other command line tool?
> > > 
> > > > Datum: Mon, 27 Sep 2010 21:19:38 +0200  
> > > > Resumable uploads were tested on [Mail.ru](http://Mail.ru)’s file exchange service:
> > > > 
> > > > magic with php arrays  
> > > > nginx mailing list  
> > > > [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> > > > [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)
> 
> ## –
> 
> Regards,  
> Valery K.
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://nginx.org/mailman/listinfo/nginx)

–  
GRATIS: Spider-Man 1-3 sowie 300 weitere Videos!  
Jetzt freischalten! [http://portal.gmx.net/de/go/maxdome](http://portal.gmx.net/de/go/maxdome)

---

<div class="post-metadata">

**Author:** ![Valery\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ee7513/32.png) [@Valery\_K](https://www.ruby-forum.com/u/Valery_K)\
**Post date:** [March 2, 2011, 2:51am UTC](https://www.ruby-forum.com/t/upload-module-2-2-0/195663/6 "2011-03-02T02:51:53Z")

</div>

Hey Guys can anyone please post a sample of curl command with the  
segmentations for resume upload… I tried and I get problems like  
content length or no reply from the server, I just need an example to  
test my server setup  
I added on the configuration the resumable on and I can upload files  
using curl -F removed\_email\_address@domain.invalid [http://server1/upload](http://server1/upload)

thank you.

JO

Posted at Nginx Forum:

> **[Re: upload module 2.2.0](https://forum.nginx.org/read.php?2,134670,179593#msg-179593)**
>
> Greetings! This release of upload module opens a new branch and new feature: resumable uploads. Resumable uploads were tested on Mail.ru's file exchange service: files.mail.ru They were very kind to publish sources of their Silverlight uploader
