1<testcase> 2# Server-side 3<reply> 4</reply> 5 6# Client-side 7<client> 8<server> 9ftp 10</server> 11 <name> 12FTP with multiple uploads 13 </name> 14 <command> 15-T log/upload149 ftp://%HOSTIP:%FTPPORT/dir1/149 -T log/upload149 ftp://%HOSTIP:%FTPPORT/dir2/149 16</command> 17<file name="log/upload149"> 18send away this contents 19</file> 20</client> 21 22# Verify data after the test has been "shot" 23<verify> 24# Strip all valid kinds of PORT and EPRT that curl can send 25<strip> 26^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3} 27^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\| 28</strip> 29<protocol> 30USER anonymous 31PASS ftp@example.com 32PWD 33CWD dir1 34EPSV 35TYPE I 36STOR 149 37CWD / 38CWD dir2 39EPSV 40STOR 149 41QUIT 42</protocol> 43<file name="log/upload149"> 44send away this contents 45</file> 46</verify> 47</testcase> 48