[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Bug?

From: Dale R. Worley
Subject: Re: [Bug-wget] Bug?
Date: Tue, 14 Nov 2017 21:38:10 -0500

OK, I just read your preceding message, and now I understand what you
meant in this message.  Yes, as you know, if you write a command in a
BAT file, your text is first processed by the BAT file processor, which
turns '%%23' into '%32' and then it's processed by wget to turn '%32'
into '#' in the command it sends to the FTP server.


<address@hidden> writes:
> So with a little research, when using the %23 escape sequence in a bat file,
> two % signs are needed to escape the % in the bat file. So it all works now.

The officially correct way is:  if you need to represent a '%' in the
name of a file in a URL, you encode it as '%25' (because the ASCII code
for '%' is hex 25).  I'm not surprised that other uses of '%' work, but
they're not officially supported and may not work consistently across
different tools.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]