1<testcase> 2# Similar to test 253 3<info> 4<keywords> 5FTP 6FTP-ipv6 7IPv6 8EPRT 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<data mode="text"> 15total 20 16drwxr-xr-x 8 98 98 512 Oct 22 13:06 . 17drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. 18drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT 19-r--r--r-- 1 0 1 35 Jul 16 1996 README 20lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin 21dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev 22drwxrwxrwx 2 98 98 512 May 29 16:04 download.html 23dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc 24drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub 25dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr 26</data> 27</reply> 28 29# Client-side 30<client> 31<features> 32IPv6 33</features> 34<server> 35ftp-ipv6 36</server> 37<name> 38FTP-IPv6 dir list, EPRT with specified IP 39</name> 40<command> 41-g "ftp://%HOST6IP:%FTP6PORT/" -P %CLIENT6IP-NB 42</command> 43</client> 44 45# Verify data after the test has been "shot" 46<verify> 47<strip> 48QUIT 49</strip> 50# Strip all valid kinds of EPRT that curl can send 51<strippart> 52s/^(EPRT \|2\|::1\|)(.*)/$1/ 53</strippart> 54<protocol> 55USER anonymous 56PASS ftp@example.com 57PWD 58EPRT |2|::1| 59TYPE A 60LIST 61QUIT 62</protocol> 63</verify> 64</testcase> 65