Florian Fuessl wrote:
> 
> Hi,
> 
> why does a directory listing on: wget ftp://ftp.mcafee.com or any
> subdirectories of this server not work.
> Other FTP servers seem to work fine.

$ wget -d ftp://ftp.mcafee.com
DEBUG output created by Wget 1.6.1-dev on cygwin32.

parseurl ("ftp://ftp.mcafee.com") -> host ftp.mcafee.com -> ftp_type I
-> opath
 -> dir  -> file  -> ndir
newpath: /
Using `.listing' as listing tmp file.
--18:02:59--  ftp://ftp.mcafee.com/
           => `.listing'
Connecting to ftp.mcafee.com:21... Created fd 3.
connected!
Logging in as anonymous ... 220 sncwebftp2 Microsoft FTP Service
(Version 5.0).
[...]

Aha it's a Microsoft so called "FTP Server" with DOS dirstyle listing.
This listing format is unsupported in wget 1.6. You can:
 - ask ftp.mcafee.com to change there default to unix listing which is
supported
 - patch the 1.6 code so that it issues an DIRSTYLE command at
connection
or
 - use the current 1.7-dev CVS code. Where support for this has been
added. Look at the web-site http://sunsite.dk/wget for instruction on
how to get it.

And please, in the future include debug output when reporting problems
!!!

> 
> Greetings from Bavaria,
> Florian Füessl

-- 
Med venlig hilsen / Kind regards

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

Reply via email to