cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to download files to a specific directory?

From: Ralph Mitchell <rmitchell_at_eds.com>
Date: Thu, 08 Jul 2004 07:02:59 -0500

Why wait, when you could bang out a short batch file that pulls the
front page from Google or Yahoo, just to see if the output lands where
you want it??

Ralph Mitchell

Glenn wrote:

>Tim Liljendahl <hitech <at> hitech.dk> writes:
>
>
>
>>What about putting a 'cd directory' as the first thing in the .bat file?
>>
>>
>>>The process for getting the files I want goes like this:
>>>1 a.bat: get id:s from a site and put them in temp.bat
>>>2 temp.bat: call b.bat with id to download
>>>
>>>The command row looks something like this:
>>>D:\curl --cert D:\vib.crt --cacert D:\XXXXXX.pem "https://myURL.se/%
>>>
>>>
>product%/%
>
>
>>>1" -O
>>>
>>>
>Good thinking Tim!
>
>I will try that, it sounds so simple so it will probably solve the problem. As
>always I'll have to wait until it can be tested but I will post back if it
>succeed.
>
>Glenn
>
>
>
>
Received on 2004-07-08