bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] New option "--no-list-a"


From: Tim Rühsen
Subject: Re: [Bug-wget] New option "--no-list-a"
Date: Fri, 30 Aug 2013 21:35:59 +0200
User-agent: KMail/4.10.5 (Linux/3.10-2-amd64; KDE/4.10.5; x86_64; ; )

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

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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