From c5ba0c2f5446532798ff68b598326f5f994616c1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Feb 2013 23:40:29 +0100 Subject: FTP: handle a 230 welcome response ...instead of the 220 we otherwise expect. Made the ftpserver.pl support sending a custom "welcome" and then created test 1219 to verify this fix with such a 230 welcome. Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html Reported by: Anders Havn --- tests/FILEFORMAT | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/FILEFORMAT') diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index 063925f09..eeb4a9822 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -107,6 +107,8 @@ For FTP/SMTP/POP/IMAP, these are supported: REPLY [command] [return value] [response string] - Changes how the server responds to the [command]. [response string] is evaluated as a perl string, so it can contain embedded \r\n, for example. + There's a special [command] named "welcome" (without quotes) which is the + string sent immediately on connect as a welcome. COUNT [command] [num] - Do the REPLY change for [command] only [num] times and then go back to the built-in approach -- cgit v1.2.3