aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test290
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-30 01:13:47 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-30 01:13:47 +0000
commitffb11ad5c69a71f12b8e28912019e87bdfa76d35 (patch)
tree311d56de43d2a34a88266d63b7b26dafc5705214 /tests/data/test290
parentfbb1e49215e613b0462ba2d154c545424640f4bf (diff)
Don't tear down the ftp connection if the maximum filesize was exceeded
and added tests 290 and 291 to check.
Diffstat (limited to 'tests/data/test290')
-rw-r--r--tests/data/test29045
1 files changed, 45 insertions, 0 deletions
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 @@
+<testcase>
+<info>
+<keywords>
+FTP
+--max-filesize
+</keywords>
+</info>
+# Server-side
+<reply>
+<size>
+85
+</size>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP download maximum filesize exceeded
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+63
+</errorcode>
+<strip>
+</strip>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE I
+SIZE 290
+QUIT
+</protocol>
+</verify>
+</testcase>