cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Re : Problem with Windows environment variables in config file !

From: Tom Mizutani <gombei1970_at_gmail.com>
Date: Tue, 21 Jun 2011 00:06:58 +0900

Hi,

You can achieve what you want just by writing a really simple batch file.

1. Launch notepad.exe.
           (click "Start Menu" => choose "Run..." => type in
"notepad" in the dialog)
2. Type in the commands below:

curl --verbose -u username:password -T "%APPDATA%\\file.rar"
ftp://myhost.com/directory/

3. Save the text file as "something.cmd"
     (you need quotation marks for saving the "*.cmd" files)

4. Launch the resulted "something.cmd".

I hope it helps.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-20