Git init
[external/curl.git] / tests / data / test104
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 NOBODY
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <size>
11 51
12 </size>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 ftp
19 </server>
20  <name>
21 FTP --head to get file size only
22  </name>
23  <command>
24 ftp://%HOSTIP:%FTPPORT/a/path/104 --head
25 </command>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 <protocol>
31 USER anonymous\r
32 PASS ftp@example.com\r
33 PWD\r
34 CWD a\r
35 CWD path\r
36 MDTM 104\r
37 TYPE I\r
38 SIZE 104\r
39 REST 0\r
40 QUIT\r
41 </protocol>
42 </verify>
43 </testcase>