cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Fwd: Using curl to download a redirected file

From: parag vibhute <parag.vibhute_at_gmail.com>
Date: Sat, 1 Dec 2007 19:18:10 +0530

Thanks for reply. Now I run following command but still not able to download
dmg file.

curl -U paragv:paragv -x 192.168.20.107:808 -L -v
http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=14490&cat=61&platform=osx&method=sa/AirPortExtremeUpdate2007004.dmg

Am I wrong somewhere?

Thanks,
Parag

On Dec 1, 2007 6:19 PM, Alessandro Vesely <vesely_at_tana.it> wrote:

> 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.
>
>

-- 
There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'.
Received on 2007-12-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET