xref: /curl/tests/data/test1096 (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 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<strip>
34QUIT
35</strip>
36<errorcode>
3778
38</errorcode>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43CWD dir
44EPSV
45TYPE I
46SIZE %TESTNUMBER
47RETR %TESTNUMBER
48EPSV
49SIZE %TESTNUMBER
50RETR %TESTNUMBER
51QUIT
52</protocol>
53</verify>
54</testcase>
55