cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Post a file to a URL

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 18 Oct 2007 07:55:46 -0700

On Thu, Oct 18, 2007 at 09:06:24AM -0400, Will Weatherford wrote:
> cURL Users,
>
> I am trying to post a file to a URL (hosted by a printer) via cURL. When
[...]
> This is what I get when I run the command from the DOS box:
>
> C:\Boeing>"C:\Boeing\curl.exe" --max-time 6 -F input_file=@"C:\Boeing\V34True
> .uc
> f;type=multipart/form-data" http://157.184.31.21/cgi-bin/dynamic/config/secure/
> importsettings.html > "C:\Boeing\V34TrueUCFOutput.txt"
>
> curl: (28) connect() timed out!

Is your browser configured to use a proxy? If so, then you need to configure
the same proxy in curl. Is your network correctly set up in the DOS box? Are
you able to retrieve files from another site using curl?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-10-18