cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to download files to a specific directory?

From: Glenn <glenn.geidemar_at_gothiagroup.com>
Date: Thu, 8 Jul 2004 08:01:58 +0000 (UTC)

Linus Nielsen Feltzing <linus <at> haxx.se> writes:

>
> 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
>
>
>
Cool,

This made my file disappear completely!!

I can't find it anywhere on any disc and it is not still on the webserver!

But I got the point and need a lot more testing and investigating in this.

Thanks for the tip and the quick reply

/Glenn
Received on 2004-07-08