quickjs-tart

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

test348 (760B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 STOR
      7 </keywords>
      8 </info>
      9 
     10 <reply>
     11 <servercmd>
     12 STOR 552 disk full
     13 </servercmd>
     14 </reply>
     15 
     16 # Client-side
     17 <client>
     18 <server>
     19 ftp
     20 </server>
     21 <name>
     22 FTP upload file with 552 disk full response
     23 </name>
     24 <file name="%LOGDIR/test%TESTNUMBER.txt">
     25 data
     26     to
     27       see
     28 that FTP
     29 works
     30   so does it?
     31 </file>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
     34 </command>
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 <strip>
     40 QUIT
     41 </strip>
     42 <upload>
     43 data
     44     to
     45       see
     46 that FTP
     47 works
     48   so does it?
     49 </upload>
     50 <protocol>
     51 USER anonymous
     52 PASS ftp@example.com
     53 PWD
     54 EPSV
     55 TYPE I
     56 STOR %TESTNUMBER
     57 QUIT
     58 </protocol>
     59 # 70 - CURLE_REMOTE_DISK_FULL
     60 <errorcode>
     61 70
     62 </errorcode>
     63 </verify>
     64 </testcase>