Am Freitag, 30. August 2013, 12:04:41 schrieb Andrea Urbani: > if you try to connect to ftp.freebsd.org and you ask for "LIST" you will get > > drwxrwxr-x 3 110 1002 512 Oct 23 2006 pub > > if you ask for "LIST -a" you will get > > drwxrwxr-x 3 110 1002 512 Aug 24 2006 . > drwxrwxr-x 3 110 1002 512 Aug 24 2006 .. > drwxrwxr-x 3 110 1002 512 Oct 23 2006 pub
That's good. A simple 'LIST' is enough - we don't need . and .. The same with ftp.debian.org ftp.microsoft.com has a different output format, but makes no difference between LIST and LIST -a ftp.redhat.com: LIST without -a supresses 'hidden' (dot) files. I think that is why '-a' is used first by Wget - to also get the hidden files. A patch that does not introduce a new option should: - add a comment why LIST -a is tried before LIST - if LIST -a returns an empty listing, Wget should fallback to LIST Andrea, can you do it ? Tim
signature.asc
Description: This is a digitally signed message part.
