quickjs-tart

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

test354 (580B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 </keywords>
      8 </info>
      9 # Server-side
     10 <reply>
     11 <data>
     12 data
     13     to
     14       see
     15 that FTP
     16 works
     17   so does it?
     18 </data>
     19 <servercmd>
     20 REPLY USER 200 fine, proceed without password
     21 </servercmd>
     22 </reply>
     23 
     24 # Client-side
     25 <client>
     26 <server>
     27 ftp
     28 </server>
     29 <name>
     30 FTP without password
     31 </name>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     34 </command>
     35 
     36 </client>
     37 
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <strip>
     41 QUIT
     42 </strip>
     43 <protocol>
     44 USER anonymous
     45 PWD
     46 EPSV
     47 TYPE I
     48 SIZE %TESTNUMBER
     49 RETR %TESTNUMBER
     50 QUIT
     51 </protocol>
     52 </verify>
     53 </testcase>