Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PORT
      6 RETR
      7 NODATACONN150
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data nocheck="yes">
     13 some bytes
     14 </data>
     15 <servercmd>
     16 NODATACONN150
     17 </servercmd>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25  <name>
     26 FTP 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>
     37 s/^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>
     45 USER anonymous
     46 PASS ftp (a] example.com
     47 PWD
     48 EPRT |1|
     49 TYPE I
     50 SIZE 1208
     51 RETR 1208
     52 </protocol>
     53 <errorcode>
     54 28
     55 </errorcode>
     56 </verify>
     57 </testcase>
     58