Corona: How To Send Multiple Files On Server In Corona Sdk?

I want to send multiple files to server some of which are audio,images and plain text files.

I tried using Multipart using this link :

http://developer.coronalabs.com/forum/2011/11/29/upload-binary-multipartform-data

but on server i am getting corrupted data.

Is there any proper way of sending multiple files to server?

Any help is highly appreciated.

The multipart binary upload example may not be compatible with Networking 2.0.  See if this helper code and/or other thread helps, or you could try uploading via FTP, if your server allows that.  This FTP helper library may do the trick.

Thanks BeyondTheTech, for some reference. 

But if i have multiple files say about 20 files, i have to send them individually i.e. an individual request to server  (20 request ,as in this case).

Is there anything that allow me to collectively send all the multiple files in a single request?

The multipart binary upload example may not be compatible with Networking 2.0.  See if this helper code and/or other thread helps, or you could try uploading via FTP, if your server allows that.  This FTP helper library may do the trick.

Thanks BeyondTheTech, for some reference. 

But if i have multiple files say about 20 files, i have to send them individually i.e. an individual request to server  (20 request ,as in this case).

Is there anything that allow me to collectively send all the multiple files in a single request?