test238 (568B)
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/%TESTNUMBER 25 </command> 26 </client> 27 28 # Verify data after the test has been "shot" 29 <verify> 30 <strip> 31 QUIT 32 </strip> 33 # 13 = CURLE_FTP_WEIRD_PASV_REPLY 34 <errorcode> 35 13 36 </errorcode> 37 <protocol> 38 USER anonymous 39 PASS ftp@example.com 40 PWD 41 EPSV 42 QUIT 43 </protocol> 44 </verify> 45 </testcase>