summaryrefslogtreecommitdiff
path: root/tests/data/test104
blob: 82df98aee9c0ca4a25d26f9e1e7eb03c5b215306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<testcase>
<info>
<keywords>
FTP
NOBODY
</keywords>
</info>
# Server-side
<reply>
<size>
51
</size>
</reply>

# Client-side
<client>
<server>
ftp
</server>
 <name>
FTP --head to get file size only
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/a/path/104 --head
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
CWD a
CWD path
MDTM 104
TYPE I
SIZE 104
REST 0
QUIT
</protocol>
</verify>
</testcase>