cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: abnormal parse when cfg came from a file

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 3 Jun 2012 00:09:58 +0200 (CEST)

On Mon, 28 May 2012, Sebastien WILLEMIJNS wrote:

> set file=c:\autoexec.bat

> echo upload-file="%file%" > config
> c:\html\$test\communs\curl.exe ftp://%host% -u %user%:%pass% -K config
> --trace-ascii log2.txt

Because you then use a single backslash within the quotes, and backslashes
then need to be doubled to occur as a backslash.

--
  / daniel.haxx.se
-------------------------------------------------------------------
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 2012-06-03