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