aboutsummaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-02-18 23:40:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2013-04-12 23:59:37 +0200
commitc5ba0c2f5446532798ff68b598326f5f994616c1 (patch)
tree29fa64ced4062750866fa2089bf756e3535089dc /tests/FILEFORMAT
parentedddf394b8634079a0b7c43c126e33ed9fa578b1 (diff)
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
Diffstat (limited to 'tests/FILEFORMAT')
-rw-r--r--tests/FILEFORMAT2
1 files changed, 2 insertions, 0 deletions
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