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/data/test1219 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 tests/data/test1219 (limited to 'tests/data/test1219') diff --git a/tests/data/test1219 b/tests/data/test1219 new file mode 100644 index 000000000..e42a211a2 --- /dev/null +++ b/tests/data/test1219 @@ -0,0 +1,49 @@ + + + +FTP +PASV +RETR + + +# Server-side + + +data + to + see +that FTP +works + so does it? + + +REPLY welcome 230 welcome without password + + + +# Client-side + + +ftp + + +FTP with no user+password required (230 response) + + +ftp://%HOSTIP:%FTPPORT/1219 + + + + +# Verify data after the test has been "shot" + + +PWD +EPSV +TYPE I +SIZE 1219 +RETR 1219 +QUIT + + + -- cgit v1.2.3