quickjs-tart

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

test236 (886B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 # Server-side
      9 <reply>
     10 <servercmd>
     11 REPLY SIZE 550 access to this file is very much denied
     12 REPLY APPE 550 I said: access to this file is very much denied
     13 REPLY STOR 550 I said: access to this file is very much denied
     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 FTP resume upload but denied access to remote file
     25 </name>
     26 <command>
     27 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt -C -
     28 </command>
     29 <file name="%LOGDIR/file%TESTNUMBER.txt">
     30 Test data
     31 </file>
     32 </client>
     33 
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 QUIT
     38 </strip>
     39 
     40 <protocol>
     41 USER anonymous
     42 PASS ftp@example.com
     43 PWD
     44 EPSV
     45 TYPE I
     46 SIZE %TESTNUMBER
     47 STOR %TESTNUMBER
     48 QUIT
     49 </protocol>
     50 
     51 #  (25) Failed FTP upload: 550
     52 <errorcode>
     53 25
     54 </errorcode>
     55 </verify>
     56 </testcase>