Does Restify support multiple file upload in array field?

145 views
Skip to first unread message

游傑 (Jack Yu)

unread,
Jul 16, 2013, 11:31:28 PM7/16/13
to res...@googlegroups.com
hello all,

I'm trying to upload multiple files to restify server using bodyParser to catch them. 

However, I found out that I can only upload each file to an individual fields, like file1, file2, file3, etc.  

If I upload more than one files to the same field, the last uploaded file will override the earlier ones.

I also try to upload fields to an array field, like "files[]", which will work on PHP server, but in restfiy,

it act like no different with normal field, and the last uploaded file will override the earlier once.


Does any one can suggest how to upload files into a array field? 


Thanks

Best Regard.

Jack

Matthias Ludwig

unread,
Oct 1, 2015, 7:23:54 AM10/1/15
to restify
Hi, has anybody found a solution for this?
I'm trying the same. :/ 
Thanks a lot,
regards Matthias
Reply all
Reply to author
Forward
0 new messages