Re: Wget patches for ".files"

2005-08-21 Thread Carl G. Ponder
Hrvoje Niksic wrote: I'd prefer a change that tried to use -a by default and fell back to what we use now if that fails. Even better would be looking into recent FTP server features, in the vein of SIZE and MDTM -- there has to be something. This would also be okay for my purposes. When I fi

Re: Wget patches for ".files"

2005-08-21 Thread Hrvoje Niksic
"Carl G. Ponder" <[EMAIL PROTECTED]> writes: > This would also be okay for my purposes. When I first ran "wget" I > was assuming it would get everything, and was surprised and > disappointed when it didn't. Would you be able to make a > modification like this any time soon? I wouldn't count on it

Re: Wget patches for ".files"

2005-08-21 Thread Hrvoje Niksic
[EMAIL PROTECTED] (Steven M. Schweda) writes: >> [...] I for one would prefer Wget to be smarter and try to download >> dot files by default, without the user's intervention. > >Given the variability in FTP servers (even among UNIX FTP servers) I > don't see how this could be done reliably. I

Re: Wget patches for ".files"

2005-08-21 Thread Steven M. Schweda
Hrvoje Niksic: > But that's the catch, it really doesn't ignore anything, it's just > that the server isn't listing them. [...] Exactly. For example, my ISP seems to be using an FTP server from Sun on its Solaris system, and it lists everything with no extra effort: alp $ ftp FTP> debug

Re: Wget patches for ".files"

2005-08-21 Thread Hrvoje Niksic
"Carl G. Ponder" <[EMAIL PROTECTED]> writes: > Hrvoje Niksic wrote: >> If nothing else works out, we can add something like that. I for one >> would prefer Wget to be smarter and try to download dot files by >> default, without the user's intervention. > > Remember, though, that if a new version

Re: Wget patches for ".files"

2005-08-21 Thread Carl G. Ponder
Hrvoje Niksic wrote: If nothing else works out, we can add something like that. I for one would prefer Wget to be smarter and try to download dot files by default, without the user's intervention. Remember, though, that if a new version of "wget" starts downloading the "." files, while all th

Re: Wget patches for ".files"

2005-08-21 Thread Hrvoje Niksic
Carl Ponder <[EMAIL PROTECTED]> writes: > How about this, then document "wget" as follows: > > By default, for wildcard and recursive operations, "wget" > *ignores* invisible files (like ".profile", ".rhosts", etc.) > that begin with '.'. But that's the catch, it really doe

Re: Wget patches for ".files"

2005-08-20 Thread Carl Ponder
Carl Ponder wrote: Hey -- how about making the "-a" the default, then add a command-line switch that supresses "-a" for servers it won't work with? Hrvoje Niksic responded: That would mean using a non-standard extension by default, and putting the burden to the user to disable it when it m

Re: Wget patches for ".files"

2005-08-20 Thread Hrvoje Niksic
Carl Ponder <[EMAIL PROTECTED]> writes: > Hey -- how about making the "-a" the default, then add a command-line > switch that supresses "-a" for servers it won't work with? That would mean using a non-standard extension by default, and putting the burden to the user to disable it when it misfires

Re: Wget patches for ".files"

2005-08-20 Thread Hrvoje Niksic
"Tony Lewis" <[EMAIL PROTECTED]> writes: > Mauro Tortonesi wrote: > >> this is a very interesting point, but the patch you mentioned above uses > the >> LIST -a FTP command, which AFAIK is not supported by all FTP servers. > > As I recall, that's why the patch was not accepted. However, it would

Re: Wget patches for ".files"

2005-08-19 Thread Carl Ponder
Carl Ponder wrote: I just started using "wget" to recursively fetch directories, and was disappointed to find that it didn't get files like ".profile" that start with ".". Mauro Tortonesi's response: this is a very interesting point, but the patch you mentioned above uses the LIST -a FTP

RE: Wget patches for ".files"

2005-08-19 Thread Tony Lewis
Mauro Tortonesi wrote: > this is a very interesting point, but the patch you mentioned above uses the > LIST -a FTP command, which AFAIK is not supported by all FTP servers. As I recall, that's why the patch was not accepted. However, it would be useful if there were some command line option to

Re: Wget patches for ".files"

2005-08-19 Thread Mauro Tortonesi
On Friday 19 August 2005 11:50 am, Carl G. Ponder wrote: > I just started using "wget" to recursively fetch directories, and was > disappointed to find that it didn't get files like ".profile" that start > with ".". I see there are fixes posted in the web at sites like > > http://www.unixwiz.