xref: /curl/tests/data/test118 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7FAILURE
8</keywords>
9</info>
10# Server-side
11<reply>
12<servercmd>
13REPLY RETR 314 bluah you f00l!
14REPLY EPSV 314 bluah you f00l!
15REPLY SIZE 500 command not understood
16</servercmd>
17</reply>
18
19# Client-side
20<client>
21<server>
22ftp
23</server>
24<name>
25FTP download, failed RETR
26</name>
27<command>
28ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
29</command>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34<strip>
35QUIT
36</strip>
37<errorcode>
3819
39</errorcode>
40<protocol>
41USER anonymous
42PASS ftp@example.com
43PWD
44EPSV
45PASV
46TYPE I
47SIZE %TESTNUMBER
48RETR %TESTNUMBER
49QUIT
50</protocol>
51</verify>
52</testcase>
53