• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7</keywords>
8</info>
9# Server-side
10<reply>
11<data>
12data
13    to
14      see
15that FTP
16works
17  so does it?
18</data>
19<datacheck>
20Content-Length: 51
21Accept-ranges: bytes
22</datacheck>
23</reply>
24
25# Client-side
26<client>
27<server>
28ftp
29</server>
30<tool>
31lib542
32</tool>
33 <name>
34FTP a file with NOBODY yes and HEADER no
35 </name>
36 <command>
37ftp://%HOSTIP:%FTPPORT/542
38</command>
39
40</client>
41
42# Verify data after the test has been "shot"
43#
44# There's no MTDM in the protocol here since this code doesn't ask for the
45# time/date of the file
46<verify>
47<protocol>
48USER anonymous
49PASS ftp@example.com
50PWD
51TYPE I
52SIZE 542
53REST 0
54QUIT
55</protocol>
56</verify>
57</testcase>
58