2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-05-21 18:38:19 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
post-quote
|
|
|
|
pre-quote
|
|
|
|
quote
|
|
|
|
compressed
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2005-01-20 17:22:12 -05:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
data
|
|
|
|
to
|
|
|
|
see
|
|
|
|
that FTP
|
|
|
|
works
|
|
|
|
so does it?
|
|
|
|
</data>
|
2007-04-18 16:22:01 -04:00
|
|
|
<servercmd>
|
|
|
|
REPLY EPSV 500 no such command
|
|
|
|
</servercmd>
|
2005-01-20 17:22:12 -05:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP with quote ops
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3"
|
|
|
|
</command>
|
2005-01-25 16:45:03 -05:00
|
|
|
</client>
|
2005-01-20 17:22:12 -05:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-13 17:50:16 -05:00
|
|
|
PASS ftp@example.com
|
2005-01-20 17:22:12 -05:00
|
|
|
PWD
|
|
|
|
NOOP 1
|
|
|
|
EPSV
|
|
|
|
PASV
|
|
|
|
TYPE I
|
|
|
|
NOOP 2
|
|
|
|
SIZE 227
|
|
|
|
RETR 227
|
|
|
|
NOOP 3
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|