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