From 038542ea3ef5be195ae30b8d655fcec34dfba9e2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 30 Sep 2008 09:51:58 +0000 Subject: - The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZE gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior. --- tests/data/test546 | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/data/test546') diff --git a/tests/data/test546 b/tests/data/test546 index 1dd1cd41e..415848792 100644 --- a/tests/data/test546 +++ b/tests/data/test546 @@ -19,8 +19,6 @@ works -REPLY RETR 550 the file doesn't exist -COUNT RETR 1 REPLY SIZE 550 Can't check for file existence COUNT SIZE 1 @@ -52,7 +50,6 @@ CWD path EPSV TYPE I SIZE 546 -RETR 546 EPSV SIZE 546 RETR 546 -- cgit v1.2.3