xref: /third_party/curl/tests/data/test118 (revision 13498266)
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<errorcode>
3519
36</errorcode>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41EPSV
42PASV
43TYPE I
44SIZE %TESTNUMBER
45RETR %TESTNUMBER
46QUIT
47</protocol>
48</verify>
49</testcase>
50