Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test247
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 </keywords>
6 </info>
7
8 <reply>
9 <mdtm>
10 213 20030409102659
11 </mdtm>
12 </reply>
13
14 # Client-side
15 <client>
16 <server>
17 ftp
18 </server>
19  <name>
20 FTP upload time condition evaluates TRUE => skip upload
21  </name>
22 <file name="log/test247.txt">
23 data
24     to
25       see
26 that FTP
27 works
28   so does it?
29 </file>
30  <command>
31 ftp://%HOSTIP:%FTPPORT/247 -T log/test247.txt -z "apr 1 2005 08:00:00"
32 </command>
33 </client>
34
35 # Verify data after the test has been "shot"
36 <verify>
37 <upload>
38 </upload>
39 <protocol>
40 USER anonymous
41 PASS ftp@example.com
42 PWD
43 MDTM 247
44 QUIT
45 </protocol>
46 </verify>
47 </testcase>