cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP Download Problem - code 78

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Feb 2009 16:51:19 +0100 (CET)

On Tue, 17 Feb 2009, Patrick Monnerat wrote:

> Agreed! But at least, return code 550 for the RETR command does not suffer
> some comment such as the one for SIZE in RFC3659. A 550 error code after
> RETR should be 99% of times due to "file not found" or "no permission".
> Although not always accurate (according to its name), returning
> CURLE_REMOTE_FILE_NOT_FOUND in this case would help discriminate it among
> other 55x error codes.

Yes I agree. I figure lib/ftp.c:ftp_state_get_resp() would need to be altered
for that...

-- 
  / daniel.haxx.se
Received on 2009-02-17