quickjs-tart

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

test126 (620B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 RETR
      7 RETRWEIRDO
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 this is file contents
     14 </data>
     15 <servercmd>
     16 RETRWEIRDO
     17 </servercmd>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25 <name>
     26 FTP download with multiple replies at once in RETR
     27 </name>
     28 <command>
     29 ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
     30 </command>
     31 </client>
     32 
     33 # Verify data after the test has been "shot"
     34 <verify>
     35 <strip>
     36 QUIT
     37 </strip>
     38 <protocol>
     39 USER anonymous
     40 PASS ftp@example.com
     41 PWD
     42 CWD blalbla
     43 CWD lululul
     44 EPSV
     45 TYPE I
     46 SIZE %TESTNUMBER
     47 RETR %TESTNUMBER
     48 QUIT
     49 </protocol>
     50 </verify>
     51 </testcase>