quickjs-tart

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

test1036 (881B)


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