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/test1209 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test1209 (limited to 'tests/data/test1209') diff --git a/tests/data/test1209 b/tests/data/test1209 new file mode 100644 index 000000000..a106f09cf --- /dev/null +++ b/tests/data/test1209 @@ -0,0 +1,53 @@ + + + +FTP +PORT +RETR +NODATACONN + + +# Server-side + + +some bytes + + +NODATACONN + + + +# Client-side + + +ftp + + +FTP PORT download, no data conn and no positive preliminary reply + + +--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1209 -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 1209 +RETR 1209 +QUIT + + +19 + + + -- cgit v1.2.3