quickjs-tart

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

test112 (639B)


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