aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-19 23:36:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-19 23:36:22 +0000
commitc7f9c51fe64886d96c6de7b1e533a2522ddc2b17 (patch)
tree9c209d6a3d5c067e41115b2563b22941438d1247 /tests
parentb1da98170f748e4b4acf10e7a54a8676432a4818 (diff)
teste multiple uploads in one command line
Diffstat (limited to 'tests')
-rw-r--r--tests/data/test14943
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test149 b/tests/data/test149
new file mode 100644
index 000000000..952aca786
--- /dev/null
+++ b/tests/data/test149
@@ -0,0 +1,43 @@
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP with multiple uploads
+ </name>
+ <command>
+-T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148
+</command>
+<file name="log/upload148">
+send away this contents
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+# strip all kinds of PORT, EPRT and LPRT curl can do
+<strip>
+^PORT 127,0,0,1,.*
+^EPRT.*
+^LPRT.*
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+CWD dir1
+EPSV
+TYPE I
+STOR 148
+CWD /nowhere/anywhere
+CWD dir2
+EPSV
+TYPE I
+STOR 148
+</protocol>
+</verify>