quickjs-tart

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

test122 (566B)


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