curl-users
Re: How do I post a file from command line
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 23 Apr 2009 20:02:12 +0200 (CEST)
Date: Thu, 23 Apr 2009 20:02:12 +0200 (CEST)
On Thu, 23 Apr 2009, Doug McNutt wrote:
> The next lines are the hidden form items I mentioned. You can use curl's -F
> option or you can add them to the URL using the & to extend the URL
-F is the way to duplicate that POST. Using & and appending to the URL is only
a guess that it might work.
> The 12 hex digit values don't make sense to me.
That's just part of the boundary string separating the different parts. curl's
-F will use similar separators.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-04-23