2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-05-21 18:38:19 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
post-quote
|
|
|
|
pre-quote
|
|
|
|
</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
|
2010-04-09 10:54:52 -04:00
|
|
|
REPLY FAIL 500 this might not be a failure!
|
2007-04-18 16:22:01 -04:00
|
|
|
</servercmd>
|
2005-01-20 17:22:12 -05:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP with quote ops
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
|
2005-01-20 17:22:12 -05:00
|
|
|
</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
|
2010-04-09 10:54:52 -04:00
|
|
|
FAIL
|
2005-01-20 17:22:12 -05:00
|
|
|
EPSV
|
|
|
|
PASV
|
|
|
|
TYPE I
|
|
|
|
NOOP 2
|
2010-04-09 10:54:52 -04:00
|
|
|
FAIL HARD
|
2021-03-12 11:38:26 -05:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2005-01-20 17:22:12 -05:00
|
|
|
NOOP 3
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|