quickjs-tart

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

test1039 (736B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 APPE
      7 Resume
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <size>
     13 0
     14 </size>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <name>
     23 FTP PASV upload resume from end of empty file
     24 </name>
     25 <command>
     26 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
     27 </command>
     28 <file name="%LOGDIR/upload%TESTNUMBER">
     29 this is the *****cr@p******** that we're gonna upload
     30 
     31 worx?
     32 </file>
     33 </client>
     34 
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <strip>
     38 QUIT
     39 </strip>
     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 <upload>
     51 this is the *****cr@p******** that we're gonna upload
     52 
     53 worx?
     54 </upload>
     55 </verify>
     56 </testcase>