Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PORT
      6 STOR
      7 multi
      8 </keywords>
      9 </info>
     10 
     11 # Server-side
     12 <reply>
     13 <data>
     14 </data>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <tool>
     23 lib525
     24 </tool>
     25  <name>
     26 FTP PORT upload using multi interface
     27  </name>
     28  <command>
     29 ftp://%HOSTIP:%FTPPORT/path/525 log/upload525
     30 </command>
     31 <file name="log/upload525">
     32 Moooooooooooo
     33  upload this
     34 </file>
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 # Strip all valid kinds of PORT and EPRT that curl can send
     40 <strip>
     41 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
     42 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
     43 </strip>
     44 <protocol>
     45 USER anonymous
     46 PASS ftp (a] example.com
     47 PWD
     48 CWD path
     49 PORT 127,0,0,1,5,109
     50 TYPE I
     51 STOR 525
     52 QUIT
     53 </protocol>
     54 <upload>
     55 Moooooooooooo
     56  upload this
     57 </upload>
     58 </verify>
     59 </testcase>
     60