1
0
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:
Micah Cowan 2008-06-26 11:01:48 -07:00
parent 6db8909f87
commit ef113e51d8
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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));