mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:33:32 +03:00
add test case 261, response code 226 to TYPE
This commit is contained in:
parent
e7012a515c
commit
632cf13767
2 changed files with 50 additions and 1 deletions
49
tests/data/test261
Normal file
49
tests/data/test261
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue