quickjs-tart

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

test121 (684B)


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