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