lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | RETR | ||||
6 | -z | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | # Server-side | ||||
10 | <reply> | ||||
11 | <data> | ||||
12 | this is file contents | ||||
13 | </data> | ||||
14 | <mdtm> | ||||
15 | 213 20030409102659 | ||||
16 | </mdtm> | ||||
17 | </reply> | ||||
18 | |||||
19 | # Client-side | ||||
20 | <client> | ||||
21 | <server> | ||||
22 | ftp | ||||
23 | </server> | ||||
24 | <name> | ||||
25 | FTP download a newer file with -z | ||||
26 | </name> | ||||
27 | <command> | ||||
28 | ftp://%HOSTIP:%FTPPORT/blalbla/139 -z "1 jan 1989" | ||||
29 | </command> | ||||
30 | </client> | ||||
31 | |||||
32 | # Verify data after the test has been "shot" | ||||
33 | <verify> | ||||
34 | <protocol> | ||||
35 | USER anonymous | ||||
36 | PASS ftp@example.com | ||||
37 | PWD | ||||
38 | CWD blalbla | ||||
39 | MDTM 139 | ||||
40 | EPSV | ||||
41 | TYPE I | ||||
42 | SIZE 139 | ||||
43 | RETR 139 | ||||
44 | QUIT | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |