Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test118
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 314 bluah you f00l!
14 REPLY EPSV 314 bluah you f00l!
15 </servercmd>
16 </reply>
17
18 # Client-side
19 <client>
20 <server>
21 ftp
22 </server>
23  <name>
24 FTP download, failed RETR
25  </name>
26  <command>
27 ftp://%HOSTIP:%FTPPORT/118
28 </command>
29 </client>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <errorcode>
34 19
35 </errorcode>
36 <protocol>
37 USER anonymous
38 PASS ftp@example.com
39 PWD
40 EPSV
41 PASV
42 TYPE I
43 SIZE 118
44 RETR 118
45 QUIT
46 </protocol>
47 </verify>
48 </testcase>