quickjs-tart

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

test1096 (731B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 FAILURE
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <servercmd>
     13 REPLY RETR 550 no such file!
     14 REPLY SIZE 500 command not understood
     15 </servercmd>
     16 </reply>
     17 
     18 # Client-side
     19 <client>
     20 <server>
     21 ftp
     22 </server>
     23 <name>
     24 Two FTP downloads, with failed RETR but reused control connection
     25 </name>
     26 <command>
     27 ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER
     28 </command>
     29 </client>
     30 
     31 # Verify data after the test has been "shot"
     32 <verify>
     33 <strip>
     34 QUIT
     35 </strip>
     36 <errorcode>
     37 78
     38 </errorcode>
     39 <protocol>
     40 USER anonymous
     41 PASS ftp@example.com
     42 PWD
     43 CWD dir
     44 EPSV
     45 TYPE I
     46 SIZE %TESTNUMBER
     47 RETR %TESTNUMBER
     48 EPSV
     49 SIZE %TESTNUMBER
     50 RETR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>