Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test238
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 </keywords>
6 </info>
7
8 # Server-side
9 <reply>
10 <servercmd>
11 REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
12 </servercmd>
13 </reply>
14
15 # Client-side
16 <client>
17 <server>
18 ftp
19 </server>
20  <name>
21 FTP getting bad port in response to EPSV
22  </name>
23  <command>
24 ftp://%HOSTIP:%FTPPORT/238
25 </command>
26 </client>
27
28 # Verify data after the test has been "shot"
29 <verify>
30 # 13 = CURLE_FTP_WEIRD_PASV_REPLY
31 <errorcode>
32 13
33 </errorcode>
34 <protocol>
35 USER anonymous
36 PASS ftp@example.com
37 PWD
38 EPSV
39 QUIT
40 </protocol>
41 </verify>
42 </testcase>