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/test290 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 tests/data/test290 (limited to 'tests/data/test290') diff --git a/tests/data/test290 b/tests/data/test290 new file mode 100644 index 000000000..82477cba0 --- /dev/null +++ b/tests/data/test290 @@ -0,0 +1,45 @@ + + + +FTP +--max-filesize + + +# Server-side + + +85 + + + +# Client-side + + +ftp + + +FTP download maximum filesize exceeded + + +ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30 + + + +# Verify data after the test has been "shot" + + +63 + + + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +TYPE I +SIZE 290 +QUIT + + + -- cgit v1.2.3