1<testcase> 2<info> 3<keywords> 4FTP 5PORT 6RETR 7NODATACONN150 8</keywords> 9</info> 10# Server-side 11<reply> 12<data nocheck="yes"> 13some bytes 14</data> 15<servercmd> 16NODATACONN150 17</servercmd> 18</reply> 19 20# Client-side 21<client> 22<server> 23ftp 24</server> 25 <name> 26FTP PORT download, no data conn and no transient negative reply 27 </name> 28 <command> 29--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1208 -P - 30</command> 31 32</client> 33 34# Verify data after the test has been "shot" 35<verify> 36<strippart> 37s/^EPRT \|1\|(.*)/EPRT \|1\|/ 38</strippart> 39 40# This test doesn't send a QUIT because the main state machine in multi.c 41# triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for 42# which the FTP disconect code generically has to assume could mean the 43# control the connection and thus it cannot send any command. 44<protocol> 45USER anonymous 46PASS ftp@example.com 47PWD 48EPRT |1| 49TYPE I 50SIZE 1208 51RETR 1208 52</protocol> 53<errorcode> 5428 55</errorcode> 56</verify> 57</testcase> 58