curl/tests/data/test139

48 lines
582 B
Plaintext
Raw Normal View History

<testcase>
2007-12-09 06:56:17 +08:00
<info>
<keywords>
FTP
RETR
-z
</keywords>
</info>
2003-04-10 19:43:47 +08:00
# Server-side
<reply>
<data>
this is file contents
</data>
<mdtm>
213 20030409102659
</mdtm>
</reply>
# Client-side
<client>
<server>
ftp
</server>
2003-04-10 19:43:47 +08:00
<name>
FTP download a newer file with -z
</name>
<command>
ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "1 jan 1989"
2003-04-10 19:43:47 +08:00
</command>
</client>
2003-04-10 19:43:47 +08:00
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
2003-04-10 19:43:47 +08:00
PWD
CWD blalbla
MDTM %TESTNUMBER
2003-04-10 19:43:47 +08:00
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
2003-04-10 19:43:47 +08:00
</protocol>
</verify>
</testcase>