]> granicus.if.org Git - curl/commitdiff
persistant connection test
authorDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2003 12:59:23 +0000 (12:59 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 5 Aug 2003 12:59:23 +0000 (12:59 +0000)
tests/data/test146 [new file with mode: 0644]

diff --git a/tests/data/test146 b/tests/data/test146
new file mode 100644 (file)
index 0000000..88690c9
--- /dev/null
@@ -0,0 +1,46 @@
+# Server-side
+<reply>
+<data>
+this is file contents
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+persistant FTP with different paths
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146
+</command>
+</test>
+
+# 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 first\r
+CWD dir\r
+CWD here\r
+EPSV\r
+TYPE I\r
+SIZE 146\r
+RETR 146\r
+CWD /nowhere/anywhere\r
+EPSV\r
+TYPE I\r
+SIZE 146\r
+RETR 146\r
+</protocol>
+</verify>