mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
stsc: FTP -nv --spider: say something about existant files, too.
This commit is contained in:
parent
6db8909f87
commit
ef113e51d8
@ -1,3 +1,8 @@
|
||||
2008-06-25 Steven Schubiger <stsc@members.fsf.org>
|
||||
|
||||
* ftp.c (getftp): When spidering a FTP URL, emit a diagnostic
|
||||
message if the remote file exists.
|
||||
|
||||
2008-06-24 Steven Schubiger <stsc@members.fsf.org>
|
||||
|
||||
* http.c (http_loop): Replace escnonprint() occurence with
|
||||
|
10
src/ftp.c
10
src/ftp.c
@ -805,8 +805,14 @@ Error in server response, closing control connection.\n"));
|
||||
}
|
||||
f = f->next;
|
||||
}
|
||||
if (!exists)
|
||||
{
|
||||
if (exists)
|
||||
{
|
||||
logputs (LOG_VERBOSE, "\n");
|
||||
logprintf (LOG_NOTQUIET, _("File %s exists.\n"),
|
||||
quote (u->file));
|
||||
}
|
||||
else
|
||||
{
|
||||
logputs (LOG_VERBOSE, "\n");
|
||||
logprintf (LOG_NOTQUIET, _("No such file %s.\n"),
|
||||
quote (u->file));
|
||||
|
Loading…
Reference in New Issue
Block a user