curl-users
Re: Posting a File (fwd)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Sep 2003 17:35:53 +0200 (CEST)
Date: Tue, 9 Sep 2003 17:35:53 +0200 (CEST)
On Tue, 9 Sep 2003, Daniel Stenberg wrote:
> I want to post a file with data contents, what option should I use for cURL
> command.
It depends on what kind of post you want. -d / --data for plain POSTs, or -F /
--form for multipart formposts.
Did you try reading the docs?
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-09-09