summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-01-19 22:22:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-01-19 22:22:54 +0000
commit01030e9240e112b55cad1d5413823fb21d521265 (patch)
tree4505f793280ca1d5eeae125c9bc6fde2132401c2 /tests/data
parenta5ca3f175470e5ca82686b0356c0a1691ac08758 (diff)
downloadcurl-01030e9240e112b55cad1d5413823fb21d521265.tar.gz
oops, I forgot to cvs add this before my previous commit (Dan Fandrich
pointed it out to me)
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test12952
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/data/test129 b/tests/data/test129
new file mode 100644
index 000000000..cf1e8391d
--- /dev/null
+++ b/tests/data/test129
@@ -0,0 +1,52 @@
+<testcase>
+<info>
+<keywords>
+FTP
+EPSV
+TYPE A
+RETR
+type=
+</keywords>
+</info>
+# Server-side
+<reply>
+<size>
+37
+</size>
+<data>
+data
+ to
+ see
+that FTP
+works
+ so does it?
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP GET with type=A style ASCII URL and understated server SIZE
+ </name>
+ <command>
+"ftp://%HOSTIP:%FTPPORT/129;type=A"
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER anonymous
+PASS ftp@example.com
+PWD
+EPSV
+TYPE A
+SIZE 129
+RETR 129
+QUIT
+</protocol>
+</verify>
+</testcase>