blob: 0fe6e6f96ed609c7a0e1c9f7e652ec941c876c37 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<data>
11data blobb
12</data>
13<servercmd>
14REPLY EPSV 500 no such command
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23 <name>
24Get two FTP files with no remote EPSV support
25 </name>
26 <command>
27ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
28</command>
29<stdout>
30data blobb
31data blobb
32</stdout>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD a
42CWD path
43EPSV
44PASV
45TYPE I
46SIZE %TESTNUMBER
47RETR %TESTNUMBER
48PASV
49SIZE %TESTNUMBER
50RETR %TESTNUMBER
51QUIT
52</protocol>
53</verify>
54</testcase>