Clayton Vernon wrote:
> 
> Sirs:
> 
> Pardon my naivete, but  I can't get the ASCII mode FTP to work because
> my shell thinks the ';' delimits the command.  I can't put the  entire
> arg to wget in quotes because it then thinks the ';type=a' is a part of
> the URL.
> 

And it is! wget will parse it correctly. Obs the debug output doesn't
include the ftp type. I'll submit a patch for this.

The other possibility is to escape the ; with a backslash like \;type=A

$ wget -d "ftp://127.0.0.1/test.bin;type=A"
DEBUG output created by Wget 1.6.1-dev on cygwin32.

parseurl ("ftp://127.0.0.1/test.bin;type=A") -> host 127.0.0.1 ->
ftp_type A
 -> opath test.bin -> dir  -> file test.bin -> ndir
newpath: /test.bin


> Clayton Vernon
> Houston, TX


PS: If you're not using the latest and greatest version 1.6 grab it from
a
GNU mirror near you or look at the web-site (http://sunsite.dk/wget) for
instruccions

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn               [EMAIL PROTECTED]
HackLine                     +45 2031 7799

Reply via email to