quickjs-tart

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

test182 (508B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 # Server-side
      9 <reply>
     10 <data sendzero="yes">
     11 </data>
     12 <size>
     13 0
     14 </size>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <name>
     23 FTP download an empty file
     24 </name>
     25 <command>
     26 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     27 </command>
     28 </client>
     29 
     30 # Verify data after the test has been "shot"
     31 <verify>
     32 <strip>
     33 QUIT
     34 </strip>
     35 <protocol>
     36 USER anonymous
     37 PASS ftp@example.com
     38 PWD
     39 EPSV
     40 TYPE I
     41 SIZE %TESTNUMBER
     42 RETR %TESTNUMBER
     43 QUIT
     44 </protocol>
     45 </verify>
     46 </testcase>