Hi limlzm, let's keep these posted to the list where possible. On 07/29/2010 06:31 PM, limlzm wrote: > Micah Cowan,您好! > > Thanks for your help. But I use vsftpd server.and use > wget 'ftp://username:p...@ip/[xx].txt' can't download the file. > > it's ok instead of wget 'ftp://username:p...@ip/%5Axx%5D.txt' > > Are There other simpler way?
Oh, right. Because for FTP, wget itself treats [ and ] special (it doesn't do this for HTTP, and I always forget to think about the FTP case). No, no simpler way, really. -mjc > > ======= 2010-07-29 19:34:02 您在来信中写道:======= > >> On 07/28/2010 07:05 PM, limlzm wrote: >>> bug-wget,您好! >>> I can't download file as [xx].txt,how to download this file? >>> wget version is :GNU Wget 1.10.2 (Red Hat modified) >> >> Be sure to quote the URL: 'http://foo.bar/[xx].txt', as otherwise the >> shell will treat [ and ] specially. >> >> -- >> Micah J. Cowan >> http://micah.cowan.name/ >> > > = = = = = = = = = = = = = = = = = = = = > > > 致 > 礼! > > > limlzm > [email protected] > 2010-07-30 > -- Micah J. Cowan http://micah.cowan.name/
