quickjs-tart

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

test533 (763B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 multi
      8 </keywords>
      9 </info>
     10 
     11 # Server-side
     12 <reply>
     13 <data>
     14 </data>
     15 
     16 <servercmd>
     17 REPLY RETR 550 the file doesn't exist
     18 REPLY SIZE 500 Can't check for file existence
     19 </servercmd>
     20 </reply>
     21 
     22 # Client-side
     23 <client>
     24 <server>
     25 ftp
     26 </server>
     27 <tool>
     28 lib%TESTNUMBER
     29 </tool>
     30 <name>
     31 FTP RETR a non-existing file twice using the multi interface
     32 </name>
     33 <command>
     34 ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
     35 </command>
     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 PASS ftp@example.com
     46 PWD
     47 CWD path
     48 EPSV
     49 TYPE I
     50 SIZE %TESTNUMBER
     51 RETR %TESTNUMBER
     52 EPSV
     53 SIZE %TESTNUMBER
     54 RETR %TESTNUMBER
     55 QUIT
     56 </protocol>
     57 </verify>
     58 </testcase>