cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem with Windows environment variables in config file !

From: Troll Rmdn <troll.rmdn_at_yahoo.fr>
Date: Sun, 19 Jun 2011 13:49:02 +0100 (BST)

Hi all, curl seems not to be able to recognize Windows environment variables in config file. To upload a file by ftp, I made a config file in curl directory containing : -u username:password -T "%APPDATA%\\file.rar" --url ftp://myhost.com/directory/ And invoke curl : curl -K configfile.txt Always shows error message : Can't open '%APPDATA%\file.rar' ! How to use Windows environment variables in config file ? thanks.

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