2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2005-04-06 05:07:27 +08:00
|
|
|
<reply>
|
|
|
|
<mdtm>
|
|
|
|
213 20050409102659
|
|
|
|
</mdtm>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP upload time condition evaluates FALSE => upload anyway
|
|
|
|
</name>
|
|
|
|
<file name="log/test248.txt">
|
|
|
|
data
|
|
|
|
to
|
|
|
|
see
|
|
|
|
that FTP
|
|
|
|
works
|
|
|
|
so does it?
|
|
|
|
</file>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/248 -T log/test248.txt -z "apr 1 2005 08:00:00"
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<upload>
|
|
|
|
data
|
|
|
|
to
|
|
|
|
see
|
|
|
|
that FTP
|
|
|
|
works
|
|
|
|
so does it?
|
|
|
|
</upload>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2005-04-06 05:07:27 +08:00
|
|
|
PWD
|
|
|
|
MDTM 248
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
STOR 248
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|