quickjs-tart

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

test1137 (635B)


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