quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test416 (664B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 RETR
      7 Range
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 0123456789abcdef0123456789abcdef0123456789abcdef
     14 </data>
     15 <datacheck>
     16 0123456789abcdef0123456789abcdef0123456789abcdef
     17 </datacheck>
     18 <servercmd>
     19 RETRSIZE 7
     20 </servercmd>
     21 <size>
     22 8
     23 </size>
     24 </reply>
     25 
     26 # Client-side
     27 <client>
     28 <server>
     29 ftp
     30 </server>
     31 <name>
     32 FTP growing file support
     33 </name>
     34 <command>
     35 --ignore-content-length ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     36 </command>
     37 </client>
     38 
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <strip>
     42 QUIT
     43 </strip>
     44 <protocol>
     45 USER anonymous
     46 PASS ftp@example.com
     47 PWD
     48 EPSV
     49 TYPE I
     50 RETR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>