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