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 20030409102659
|
|
|
|
</mdtm>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP upload time condition evaluates TRUE => skip upload
|
|
|
|
</name>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/test%TESTNUMBER.txt">
|
2005-04-06 05:07:27 +08:00
|
|
|
data
|
|
|
|
to
|
|
|
|
see
|
|
|
|
that FTP
|
|
|
|
works
|
|
|
|
so does it?
|
|
|
|
</file>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00"
|
2005-04-06 05:07:27 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<upload>
|
|
|
|
</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
|
2021-03-13 00:38:26 +08:00
|
|
|
MDTM %TESTNUMBER
|
2005-04-06 05:07:27 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|