]> granicus.if.org Git - curl/commitdiff
FTP URL with type=a
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 May 2003 17:48:59 +0000 (17:48 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 1 May 2003 17:48:59 +0000 (17:48 +0000)
tests/data/Makefile.am
tests/data/test143 [new file with mode: 0644]

index dd4867cbb0630d809d76c961dcd6ced8891a9add..d83cff5955f0acf9cb307cdbb3b4189d3b4ed854 100644 (file)
@@ -19,4 +19,4 @@ test304  test39   test32   test128  test48 test306 \
 test130  test131  test132  test133  test134 test135 test403 test305 \
 test49 test50 test51 test52 test53 test54 test55 test56 \
 test500 test501 test502 test503 test504 test136 test57 test137 test138 \
-test58 test139 test140 test141 test59 test60 test61 test142
+test58 test139 test140 test141 test59 test60 test61 test142 test143
diff --git a/tests/data/test143 b/tests/data/test143
new file mode 100644 (file)
index 0000000..567a2d6
--- /dev/null
@@ -0,0 +1,34 @@
+# Server-side
+<reply>
+<data>
+bla bla bla
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP URL with type=a
+ </name>
+ <command>
+"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/143;type=a"
+</command>
+</test>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PWD\r
+CWD /tmp\r
+CWD moo\r
+EPSV\r
+TYPE A\r
+SIZE 143\r
+RETR 143\r
+</protocol>
+</verify>