summaryrefslogtreecommitdiff
path: root/tests/data/test525
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-31 22:18:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-31 22:18:08 +0000
commitdc9f154823a3f6a89b9aa5f7f0d520a39a3a0c2f (patch)
tree923a24226e03d98d9189b14369dcc6986d334a1a /tests/data/test525
parentd7168a82e2123b6c3eb4db8e890ce7c14e21b32a (diff)
downloadcurl-dc9f154823a3f6a89b9aa5f7f0d520a39a3a0c2f.tar.gz
added missing test
Diffstat (limited to 'tests/data/test525')
-rw-r--r--tests/data/test52555
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/data/test525 b/tests/data/test525
new file mode 100644
index 000000000..d26490e7c
--- /dev/null
+++ b/tests/data/test525
@@ -0,0 +1,55 @@
+<info>
+<keywords>
+FTP
+PORT
+STOR
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+<tool>
+lib525
+</tool>
+ <name>
+FTP PORT upload using multi interface
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/path/525 log/upload525
+</command>
+<file name="log/upload525">
+Moooooooooooo
+ upload this
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^PORT .*
+^EPRT .*
+^LPRT .*
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD path
+PORT 127,0,0,1,5,109
+TYPE I
+STOR 525
+QUIT
+</protocol>
+<upload>
+Moooooooooooo
+ upload this
+</upload>
+</verify>