chiark / gitweb /
Import curl_7.56.1.orig.tar.gz
[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\r
43 PASS ftp@example.com\r
44 PWD\r
45 MDTM 520\r
46 EPSV\r
47 TYPE I\r
48 SIZE 520\r
49 RETR 520\r
50 QUIT\r
51 </protocol>
52 </verify>
53 </testcase>