Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test520
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 <data>
12 contents of file
13 </data>
14 <servercmd>
15 REPLY MDTM 213 20030405060708
16 </servercmd>
17 </reply>
18
19 # Client-side
20 <client>
21 <server>
22 ftp
23 </server>
24 # tool is what to use instead of 'curl'
25 <tool>
26 lib520
27 </tool>
28
29  <name>
30 FTP RETR with FILETIME
31  </name>
32  <command>
33 ftp://%HOSTIP:%FTPPORT/520
34 </command>
35 </client>
36
37 #
38 # Verify data after the test has been "shot"
39 <verify>
40
41 <protocol>
42 USER anonymous
43 PASS ftp@example.com
44 PWD
45 MDTM 520
46 EPSV
47 TYPE I
48 SIZE 520
49 RETR 520
50 QUIT
51 </protocol>
52 </verify>
53 </testcase>