blob: 4946e893767964a084b873fe9ef804d9d59455eb [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7PRET
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13data
14 to
15 see
16that FTP
17works
18 so does it?
19</data>
20<servercmd>
21REPLY PRET 200 fine
22</servercmd>
23</reply>
24
25# Client-side
26<client>
27<server>
28ftp
29</server>
30 <name>
31FTP RETR PASV with PRET
32 </name>
33 <command>
34ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-pret
35</command>
36
37</client>
38
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42USER anonymous
43PASS ftp@example.com
44PWD
45PRET RETR %TESTNUMBER
46EPSV
47TYPE I
48SIZE %TESTNUMBER
49RETR %TESTNUMBER
50QUIT
51</protocol>
52</verify>
53</testcase>