aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test119
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test119')
-rw-r--r--tests/data/test11933
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/data/test119 b/tests/data/test119
new file mode 100644
index 000000000..6c4953273
--- /dev/null
+++ b/tests/data/test119
@@ -0,0 +1,33 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP download, failed RETR with PORT
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/119 -P -
+</command>
+<file name="log/ftpserver.cmd">
+REPLY RETR 314 bluah you f00l!
+</file>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+19
+</errorcode>
+<strip>
+^PORT.*
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+TYPE I
+RETR 119
+</protocol>
+</verify>