quickjs-tart

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

test110 (660B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 Resume
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 expected to be a file without the first part
     14 but we emulate that
     15 </data>
     16 <size>
     17 85
     18 </size>
     19 <servercmd>
     20 REPLY EPSV 500 no such command
     21 </servercmd>
     22 </reply>
     23 
     24 # Client-side
     25 <client>
     26 <server>
     27 ftp
     28 </server>
     29 <name>
     30 FTP download resume with set limit
     31 </name>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 20
     34 </command>
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 <strip>
     40 QUIT
     41 </strip>
     42 <protocol>
     43 USER anonymous
     44 PASS ftp@example.com
     45 PWD
     46 EPSV
     47 PASV
     48 TYPE I
     49 SIZE %TESTNUMBER
     50 REST 20
     51 RETR %TESTNUMBER
     52 QUIT
     53 </protocol>
     54 </verify>
     55 </testcase>