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: How to download files to a specific directory?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 08 Jul 2004 08:38:46 +0200

Glenn wrote:

> The command row looks something like this:
> D:\curl --cert D:\vib.crt --cacert D:\XXXXXX.pem "https://myURL.se/%product%/%
> 1" -O
>
> So, to resume, my question is: How can I specify (hardcode) so my files will
> be downloaded to d:\downloaded ??

Try the -o switch instead:

D:\curl --cert D:\vib.crt --cacert D:\XXXXXX.pem
"https://myURL.se/%product%/%1" -o "d:\downloaded\%1"

Linus
Received on 2004-07-08

These mail archives are generated by hypermail.

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

File upload with ASP.NET