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