cURL / Mailing Lists / curl-users / Single Mail

curl-users

-d and -F

From: Brano <2ge_at_2ge.sk>
Date: Tue, 8 Jul 2003 13:04:01 +0200

Hi curl-users_at_lists.sourceforge.net,

I want fill in form, and also upload picture at the same time, but I
dont know how to do it:

curl -F "photo=@1.gif;type=image/gif" -d "adv_id=&MAX_FILE_SIZE=1000000&firm=VSetko&email=vsetko_at_hotmail.com&subsection=59&location=1&want_to=100&validity=1&text=text inzeratu" "http://..."

doesn't work (You can only select one HTTP request!)

exist some better way to do that, or I have to:

curl -F "photo=@1.gif;type=image/gif" -F "adv_id=" -F
"MAX_FILE_SIZE=1000000" ... ?

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-08