Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 # Server-side
      9 <reply>
     10 </reply>
     11 
     12 # Client-side
     13 <client>
     14 <server>
     15 ftp
     16 </server>
     17 # tool is what to use instead of 'curl'
     18 <tool>
     19 lib541
     20 </tool>
     21 
     22  <name>
     23 FTP upload and upload same file again without rewind
     24  </name>
     25  <command>
     26 ftp://%HOSTIP:%FTPPORT/541 log/upload541
     27 </command>
     28 <file name="log/upload541">
     29 Contents
     30 of
     31 a file
     32 to verify
     33 ftp
     34 upload
     35 
     36 
     37 works?
     38 </file>
     39 </client>
     40 
     41 # Verify data after the test has been "shot"
     42 <verify>
     43 <upload>
     44 </upload>
     45 <protocol>
     46 USER anonymous
     47 PASS ftp (a] example.com
     48 PWD
     49 EPSV
     50 TYPE I
     51 STOR 541
     52 EPSV
     53 STOR 541
     54 QUIT
     55 </protocol>
     56 </verify>
     57 </testcase>
     58