2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2007-12-09 06:56:17 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
-z
|
|
|
|
--data-binary
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-04-10 19:43:47 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
<mdtm>
|
|
|
|
213 20030409102659
|
|
|
|
</mdtm>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2003-04-10 19:43:47 +08:00
|
|
|
<name>
|
|
|
|
FTP download file with -z, expected to not transfer
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/blalbla/140 -z "1 jan 2004"
|
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2003-04-10 19:43:47 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2003-04-10 19:43:47 +08:00
|
|
|
PWD
|
|
|
|
CWD blalbla
|
2004-02-27 15:08:37 +08:00
|
|
|
MDTM 140
|
|
|
|
QUIT
|
2003-04-10 19:43:47 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|