curl-users
RE: Multipart Forms and File Downloads
Date: Tue, 25 Oct 2005 10:19:05 -0400
>> Can curl support multiple file downloads from multipart forms?
>There's nothing in the HTTP standards that offers "multiple file downloads"
>AFAIK. You need to tell us more details on exactly how this is done to enable
>us to answer this.
The form is a multipart form enctype="MULTIPART/FORM-DATA", but I now see it is not there to support the multiple downloads. In my original post I did not include the fact that each record contains an <input type="file"...> tag as well. Red herring on my part, sorry.
>> If so, do I submit my form data using -d ?
>If the form is a regular (non-multipart) form, then -d is your weapon.
The form I'm posting to is large and undocumented. I must be missing either a required hidden field, or I'm not managing headers/cookies properly.
Thanks for the info.
Gary
>--
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-10-25