xref: /curl/tests/data/test542 (revision cd4aee15)
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>
31lib%TESTNUMBER
32</tool>
33<name>
34FTP a file with NOBODY yes and HEADER no
35</name>
36<command>
37ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
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<strip>
48QUIT
49</strip>
50<protocol>
51USER anonymous
52PASS ftp@example.com
53PWD
54TYPE I
55SIZE %TESTNUMBER
56REST 0
57QUIT
58</protocol>
59</verify>
60</testcase>
61