1<testcase> 2<info> 3<keywords> 4FTP 5EPRT 6</keywords> 7</info> 8 9# Server-side 10<reply> 11<data> 12data blobb 13</data> 14<servercmd> 15REPLY EPRT 500 no such command 16</servercmd> 17</reply> 18 19# Client-side 20<client> 21<server> 22ftp 23</server> 24# EPRT is only sent when IPv6 is enabled 25<features> 26IPv6 27</features> 28<name> 29Get two FTP files with no remote EPRT support 30</name> 31<command> 32ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P - 33</command> 34<stdout> 35data blobb 36data blobb 37</stdout> 38</client> 39 40# Verify data after the test has been "shot" 41<verify> 42<strip> 43QUIT 44</strip> 45# Strip the addresses and port number but leave the rest 46<strippart> 47s/^(EPRT \|1\|)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|/$1/ 48s/^(PORT )\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}/$1/ 49</strippart> 50<protocol> 51USER anonymous 52PASS ftp@example.com 53PWD 54CWD a 55CWD path 56EPRT |1| 57PORT 58TYPE I 59SIZE %TESTNUMBER 60RETR %TESTNUMBER 61PORT 62SIZE %TESTNUMBER 63RETR %TESTNUMBER 64QUIT 65</protocol> 66</verify> 67</testcase> 68