Don't fail if _ftp_stat() reports a protocol error, since that most likely

means that the server doesn't understand SIZE or MDTM, which should not be a
hard failure.

Submitted by:	ume
This commit is contained in:
des 2000-07-27 08:48:48 +00:00
parent 73a0a27f04
commit 0247d400b1

View File

@ -796,6 +796,7 @@ fetchXGetFTP(struct url *url, struct url_stat *us, char *flags)
/* stat file */
if (us && _ftp_stat(cd, url->doc, us) == -1
&& fetchLastErrCode != FETCH_PROTO
&& fetchLastErrCode != FETCH_UNAVAIL)
return NULL;