aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-05-01 17:48:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-05-01 17:48:59 +0000
commitd166e85e0a1e58aeb999328e3bf003c0d55a251c (patch)
tree2ad65f5b8049b6667468b49ba58aa165ac1db1da /tests
parentf213e857abc1894530b389fb6635ba5b8eac94a8 (diff)
FTP URL with type=a
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test14334
2 files changed, 35 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index dd4867cbb..d83cff595 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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
index 000000000..567a2d672
--- /dev/null
+++ b/tests/data/test143
@@ -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
+PASS curl_by_daniel@haxx.se
+PWD
+CWD /tmp
+CWD moo
+EPSV
+TYPE A
+SIZE 143
+RETR 143
+</protocol>
+</verify>