Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1262
1 # similar to test 139 but with a reversed time condition
2 <testcase>
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/1262 -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 1262
37 QUIT
38 </protocol>
39 </verify>
40 </testcase>