cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Fwd: Using curl to download a redirected file

From: Alessandro Vesely <vesely_at_tana.it>
Date: Sat, 01 Dec 2007 13:49:46 +0100

parag vibhute wrote:
> [...] I tried curl command like following
> curl -x 192.168.20.108:808 -x guest:guest http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=14490&cat=61&platform=osx&method=sa/AirPortExtremeUpdate2007004.dmg
> but failed to achieve. I know I am missing something.

-x guest:guest is wrong, you probably want -u for that.
-L helps with redirection, -o for supplying an output.
-v sets verbosity, to understand if anything goes wrong,
and its output is also explicative when posted on this
list.

See http://curl.haxx.se/docs/manpage.html
for exact syntax an more options.
Received on 2007-12-01