]> granicus.if.org Git - curl/commit
FTP: handle a 230 welcome response
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Feb 2013 22:40:29 +0000 (23:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 12 Apr 2013 21:59:37 +0000 (23:59 +0200)
commitc5ba0c2f5446532798ff68b598326f5f994616c1
tree29fa64ced4062750866fa2089bf756e3535089dc
parentedddf394b8634079a0b7c43c126e33ed9fa578b1
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
lib/ftp.c
tests/FILEFORMAT
tests/data/Makefile.am
tests/data/test1219 [new file with mode: 0644]
tests/ftpserver.pl