xref: /curl/tests/data/test139 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5RETR
6-z
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12this is file contents
13</data>
14<mdtm>
15213 20030409102659
16</mdtm>
17</reply>
18
19# Client-side
20<client>
21<server>
22ftp
23</server>
24<name>
25FTP download a newer file with -z
26</name>
27<command>
28ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "1 jan 1989"
29</command>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34<strip>
35QUIT
36</strip>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD blalbla
42MDTM %TESTNUMBER
43EPSV
44TYPE I
45SIZE %TESTNUMBER
46RETR %TESTNUMBER
47QUIT
48</protocol>
49</verify>
50</testcase>
51