cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Troll Rmdn <troll.rmdn_at_yahoo.fr>
Date: Mon, 20 Jun 2011 20:52:08 +0100 (BST)

> You can achieve what you want just by writing a really simple batch file. That works thanks very much. Thanks to Daniel Stenberg for the idea. ________________________________ De : Tom Mizutani <gombei1970@gmail.com> À : the curl tool <curl-users@cool.haxx.se> Envoyé le : Lun 20 juin 2011, 16h 06min 58s Objet : Re: Re : Problem with Windows environment variables in config file ! 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

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