quickjs-tart

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

test235 (773B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 STOR
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 <servercmd>
     12 REPLY SIZE 500 command not understood
     13 </servercmd>
     14 </reply>
     15 
     16 # Client-side
     17 <client>
     18 <server>
     19 ftp
     20 </server>
     21 <name>
     22 FTP resumed upload but no file present remotely
     23 </name>
     24 <command>
     25 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
     26 </command>
     27 <file name="%LOGDIR/upload%TESTNUMBER">
     28 this is the *****crap******** that we're gonna upload
     29 
     30 worx?
     31 </file>
     32 </client>
     33 
     34 # Verify data after the test has been "shot"
     35 <verify>
     36 <strip>
     37 QUIT
     38 </strip>
     39 <protocol>
     40 USER anonymous
     41 PASS ftp@example.com
     42 PWD
     43 EPSV
     44 TYPE I
     45 SIZE %TESTNUMBER
     46 STOR %TESTNUMBER
     47 QUIT
     48 </protocol>
     49 <upload>
     50 this is the *****crap******** that we're gonna upload
     51 
     52 worx?
     53 </upload>
     54 </verify>
     55 </testcase>