add test case 261, response code 226 to TYPE

This commit is contained in:
Daniel Stenberg 2005-05-24 09:40:58 +00:00
parent e7012a515c
commit 632cf13767
2 changed files with 50 additions and 1 deletions

View File

@ -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

49
tests/data/test261 Normal file
View File

@ -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>