Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test117
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 FAILURE
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <servercmd>
11 REPLY EPSV 314 bluah you f00l!
12 REPLY TYPE 314 bluah you f00l!
13 </servercmd>
14 </reply>
15
16 # Client-side
17 <client>
18 <server>
19 ftp
20 </server>
21  <name>
22 FTP download, failed TYPE
23  </name>
24  <command>
25 ftp://%HOSTIP:%FTPPORT/117
26 </command>
27 </client>
28
29 # Verify data after the test has been "shot"
30 <verify>
31 <errorcode>
32 17
33 </errorcode>
34 <protocol>
35 USER anonymous
36 PASS ftp@example.com
37 PWD
38 EPSV
39 PASV
40 TYPE I
41 QUIT
42 </protocol>
43 </verify>
44 </testcase>