quickjs-tart

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

test138 (670B)


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