xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | # similar to test 139 but with a reversed time condition | ||||
3 | <info> | ||||
4 | <keywords> | ||||
5 | FTP | ||||
6 | RETR | ||||
7 | -z | ||||
8 | </keywords> | ||||
9 | </info> | ||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | <mdtm> | ||||
13 | 213 20030409102659 | ||||
14 | </mdtm> | ||||
15 | </reply> | ||||
16 | |||||
17 | # Client-side | ||||
18 | <client> | ||||
19 | <server> | ||||
20 | ftp | ||||
21 | </server> | ||||
22 | <name> | ||||
23 | FTP request and denied to download an older file with -z | ||||
24 | </name> | ||||
25 | <command> | ||||
26 | ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "-1 jan 2001" | ||||
27 | </command> | ||||
28 | </client> | ||||
29 | |||||
30 | <verify> | ||||
31 | <protocol> | ||||
32 | USER anonymous | ||||
33 | PASS ftp@example.com | ||||
34 | PWD | ||||
35 | CWD blalbla | ||||
36 | MDTM %TESTNUMBER | ||||
37 | QUIT | ||||
38 | </protocol> | ||||
39 | </verify> | ||||
40 | </testcase> |