]> granicus.if.org Git - curl/commitdiff
teste multiple uploads in one command line
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 23:36:22 +0000 (23:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 23:36:22 +0000 (23:36 +0000)
tests/data/test149 [new file with mode: 0644]

diff --git a/tests/data/test149 b/tests/data/test149
new file mode 100644 (file)
index 0000000..952aca7
--- /dev/null
@@ -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\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD dir1\r
+EPSV\r
+TYPE I\r
+STOR 148\r
+CWD /nowhere/anywhere\r
+CWD dir2\r
+EPSV\r
+TYPE I\r
+STOR 148\r
+</protocol>
+</verify>