curl-users
Re: File POST with other POST fields
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 28 Aug 2002 08:10:37 +0200 (MET DST)
Date: Wed, 28 Aug 2002 08:10:37 +0200 (MET DST)
On Tue, 27 Aug 2002, SpamSucks86 wrote:
> How can I POST a file with cURL and also POST other fields. I want to
> emulate a multipart/form-data submission with a file field and several
> other text fields.
Did you even try to read the manual? Try reading up on the -F option:
http://curl.haxx.se/docs/manpage.html
Or perhaps the "4.3 FILE UPLOAD POST" section here:
http://curl.haxx.se/docs/httpscripting.html
When you've done that, please come back and ask more specific questions.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/ximReceived on 2002-08-28