blob: fc898a7a197262e9b9c24981b4dcc6ff1b477c58 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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</reply>
20
21# Client-side
22<client>
23<server>
24ftp
25</server>
26 <name>
27FTP fetch a file from the root directory
28 </name>
29 <command>
30ftp://%HOSTIP:%FTPPORT//%TESTNUMBER
31</command>
32
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD /
42EPSV
43TYPE I
44SIZE %TESTNUMBER
45RETR %TESTNUMBER
46QUIT
47</protocol>
48</verify>
49</testcase>