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  <name>
     18 FTP with multiple uploads
     19  </name>
     20  <command>
     21 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149
     22 </command>
     23 <file name="log/upload149">
     24 send away this contents
     25 </file>
     26 </client>
     27 
     28 # Verify data after the test has been "shot"
     29 <verify>
     30 # Strip all valid kinds of PORT and EPRT that curl can send
     31 <strip>
     32 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
     33 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
     34 </strip>
     35 <protocol>
     36 USER anonymous
     37 PASS ftp (a] example.com
     38 PWD
     39 CWD dir1
     40 EPSV
     41 TYPE I
     42 STOR 149
     43 CWD /
     44 CWD dir2
     45 EPSV
     46 STOR 149
     47 QUIT
     48 </protocol>
     49 <file name="log/upload149">
     50 send away this contents
     51 </file>
     52 </verify>
     53 </testcase>
     54