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:
parent
73a0a27f04
commit
0247d400b1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user