aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-24 09:40:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-24 09:40:58 +0000
commit632cf13767f499bdfbef8c7573f826bad64facb2 (patch)
treef095b4b85b84d298e6a5aecafc6490571bdd6d8c
parente7012a515cb4a66d11e4d22cba87d23ca748fbee (diff)
add test case 261, response code 226 to TYPE
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test26149
2 files changed, 50 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 717d7a1be..8d64cf81a 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -32,4 +32,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test231 test232 test228 test229 test233 test234 test235 test236 test520 \
test237 test238 test239 test243 test245 test246 test247 test248 test249 \
test250 test251 test252 test253 test254 test255 test521 test522 test523 \
- test256 test257 test258 test259 test260
+ test256 test257 test258 test259 test260 test261
diff --git a/tests/data/test261 b/tests/data/test261
new file mode 100644
index 000000000..419bf9b26
--- /dev/null
+++ b/tests/data/test261
@@ -0,0 +1,49 @@
+<info>
+<keywords>
+FTP
+EPSV
+RETR
+</keywords>
+</info>
+#
+# Server-side
+<reply>
+<data>
+hepp
+</data>
+<servercmd>
+REPLY TYPE 226 Kind of on the positive side!
+</servercmd>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+ftp
+</server>
+ <name>
+FTP RETR with 226 response code to TYPE
+ </name>
+ <command>
+ftp://%HOSTIP:%FTPPORT/261
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+filter off really nothing
+</strip>
+<protocol>
+USER anonymous
+PASS curl_by_daniel@haxx.se
+PWD
+EPSV
+TYPE I
+SIZE 261
+RETR 261
+QUIT
+</protocol>
+</verify>