2009-01-20 23:42:47 -05:00
|
|
|
<testcase>
|
|
|
|
# based on test 143
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
RETR
|
|
|
|
type=
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
bla bla bla
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP URL with type=i
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/1091;type=i" --use-ascii
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
2019-09-25 11:48:53 -04:00
|
|
|
CWD /
|
|
|
|
CWD tmp
|
2009-01-20 23:42:47 -05:00
|
|
|
CWD moo
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 1091
|
|
|
|
RETR 1091
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|