From ffb11ad5c69a71f12b8e28912019e87bdfa76d35 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 30 Mar 2007 01:13:47 +0000 Subject: Don't tear down the ftp connection if the maximum filesize was exceeded and added tests 290 and 291 to check. --- tests/data/test291 | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/data/test291 (limited to 'tests/data/test291') diff --git a/tests/data/test291 b/tests/data/test291 new file mode 100644 index 000000000..18e039e4f --- /dev/null +++ b/tests/data/test291 @@ -0,0 +1,47 @@ + + + +FTP +RETR +--max-filesize + + +# Server-side + + +data + to + see +that FTP +works + so does it? + + + +# Client-side + + +ftp + + +FTP download maximum filesize not exceeded + + +ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100 + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +TYPE I +SIZE 291 +RETR 291 +QUIT + + + -- cgit v1.2.3