aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1137
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-10-23 15:24:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-23 15:24:56 +0200
commiteefd5a95afca7371a65bae2ae03dfcd6766cc6ad (patch)
tree6c0fbab41fb85057aa18cd5e80d6e8089b0b6bf8 /tests/data/test1137
parentb1fc8c0e977a61c30d263d6aaaed959cd8b26862 (diff)
test1137: verify --ignore-content-length for FTP
Diffstat (limited to 'tests/data/test1137')
-rw-r--r--tests/data/test113752
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/data/test1137 b/tests/data/test1137
new file mode 100644
index 000000000..a2bfcbac1
--- /dev/null
+++ b/tests/data/test1137
@@ -0,0 +1,52 @@
+<testcase>
+<info>
+<keywords>
+FTP
+PASV
+RETR
+--ignore-content-length
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</data>
+<servercmd>
+REPLY EPSV 500 no such command
+</servercmd>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP RETR --ignore-content-length
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/1137 --ignore-content-length
+</command>
+
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+PASV
+TYPE I
+RETR 1137
+QUIT
+</protocol>
+</verify>
+</testcase>