From 082e8a3b03d2c47d237994675bface127ab23c29 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 11 Nov 2011 19:46:44 +0100 Subject: Active mode FTP test cases with server not establishing data connection 591 -> FTP multi PORT and 425 on upload 592 -> FTP multi PORT and 421 on upload 593 -> FTP multi PORT upload, no data conn and no transient neg. reply 594 -> FTP multi PORT upload, no data conn and no positive prelim. reply 1206 -> FTP PORT and 425 on download 1207 -> FTP PORT and 421 on download 1208 -> FTP PORT download, no data conn and no transient negative reply 1209 -> FTP PORT download, no data conn and no positive preliminary reply --- tests/data/test1206 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test1206 (limited to 'tests/data/test1206') diff --git a/tests/data/test1206 b/tests/data/test1206 new file mode 100644 index 000000000..862c4bdf4 --- /dev/null +++ b/tests/data/test1206 @@ -0,0 +1,53 @@ + + + +FTP +PORT +RETR +NODATACONN425 + + +# Server-side + + +some bytes + + +NODATACONN425 + + + +# Client-side + + +ftp + + +FTP PORT and 425 on download + + +--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1206 -P - + + + + +# Verify data after the test has been "shot" + + +s/^EPRT \|1\|(.*)/EPRT \|1\|/ + + +USER anonymous +PASS ftp@example.com +PWD +EPRT |1| +TYPE I +SIZE 1206 +RETR 1206 +QUIT + + +19 + + + -- cgit v1.2.3