blob: 3342f84fc48084df81f5d38be01e75afbff519ca [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 nocheck="yes">
12data
13 to
14 see
15that FTP
16works
17 so does it?
18</data>
19<servercmd>
20REPLY EPSV 500 no such command
21</servercmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27ftp
28</server>
29 <name>
30FTP first type=A then regular URL
31 </name>
32<tool>
33lib%TESTNUMBER
34</tool>
35<command>
36"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=A" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
37</command>
38
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47EPSV
48PASV
49TYPE A
50RETR %TESTNUMBER
51PASV
52TYPE I
53SIZE %TESTNUMBER
54RETR %TESTNUMBER
55QUIT
56</protocol>
57</verify>
58<stdout>
59data
60 to
61 see
62that FTP
63works
64 so does it?
65data
66 to
67 see
68that FTP
69works
70 so does it?
71</stdout>
72
73</testcase>