aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test103
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test103')
-rw-r--r--tests/data/test10337
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/data/test103 b/tests/data/test103
new file mode 100644
index 000000000..b3a228853
--- /dev/null
+++ b/tests/data/test103
@@ -0,0 +1,37 @@
+# Server-side
+<reply>
+<data>
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</data>
+</reply>
+
+# Client-side
+<client>
+ <name>
+FTP RETR PORT with CWD
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^PORT .*
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD a/path
+PORT 127,0,0,1,246,33
+TYPE I
+RETR 103
+</protocol>
+</verify>