1<testcase>
2# Server-side
3<reply>
4<servercmd>
5REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
6REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
7</servercmd>
8</reply>
9
10# Client-side
11<client>
12<server>
13ftp
14</server>
15 <name>
16FTP getting bad port in response to EPSV and in response to PASV
17 </name>
18 <command>
19ftp://%HOSTIP:%FTPPORT/238
20</command>
21</client>
22
23# Verify data after the test has been "shot"
24<verify>
25# curl: (15) Can't resolve new host 1216.256.2.127:32639
26# 15 => CURLE_FTP_CANT_GET_HOST
27# some systems just don't fail on the illegal host name/address but instead
28# moves on and attempt to connect to... yes, to what?
29# 7= CURLE_COULDNT_CONNECT
30<errorcode>
317, 15
32</errorcode>
33<protocol>
34USER anonymous
35PASS ftp@example.com
36PWD
37EPSV
38PASV
39</protocol>
40</verify>
41</testcase>
42