quickjs-tart

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

test261 (579B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 RETR
      7 </keywords>
      8 </info>
      9 #
     10 # Server-side
     11 <reply>
     12 <data>
     13 hepp
     14 </data>
     15 <servercmd>
     16 REPLY TYPE 226 Kind of on the positive side!
     17 </servercmd>
     18 </reply>
     19 
     20 #
     21 # Client-side
     22 <client>
     23 <server>
     24 ftp
     25 </server>
     26 <name>
     27 FTP RETR with 226 response code to TYPE
     28 </name>
     29 <command>
     30 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     31 </command>
     32 </client>
     33 
     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 EPSV
     45 TYPE I
     46 SIZE %TESTNUMBER
     47 RETR %TESTNUMBER
     48 QUIT
     49 </protocol>
     50 </verify>
     51 </testcase>