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