From 7f22da5230fc6bb481bb9ab53c44427f1e0d4b40 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 19 Feb 2009 13:47:06 +0000 Subject: verify that a 550-response for a RETR returns 78 but also that the control connection is kept alive afterwards --- tests/data/test1096 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test1096 (limited to 'tests/data/test1096') diff --git a/tests/data/test1096 b/tests/data/test1096 new file mode 100644 index 000000000..30748c1b4 --- /dev/null +++ b/tests/data/test1096 @@ -0,0 +1,50 @@ + + + +FTP +PASV +RETR +FAILURE + + +# Server-side + + +REPLY RETR 550 no such file! + + + +# Client-side + + +ftp + + +Two FTP downloads, with failed RETR but re-used control connection + + +ftp://%HOSTIP:%FTPPORT/dir/1096 ftp://%HOSTIP:%FTPPORT/dir/1096 + + + +# Verify data after the test has been "shot" + + +78 + + +USER anonymous +PASS ftp@example.com +PWD +CWD dir +EPSV +TYPE I +SIZE 1096 +RETR 1096 +EPSV +SIZE 1096 +RETR 1096 +QUIT + + + -- cgit v1.2.3