1<testcase> 2<info> 3<keywords> 4FTP 5PASV 6LIST 7HTTP 8HTTP CONNECT 9HTTP proxy 10</keywords> 11</info> 12# 13# Server-side 14<reply> 15 16<connect> 17HTTP/1.1 200 Mighty fine indeed 18Magic: sure you can FTP me 19 20</connect> 21 22<data mode="text"> 23total 20 24drwxr-xr-x 8 98 98 512 Oct 22 13:06 . 25drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. 26drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT 27-r--r--r-- 1 0 1 35 Jul 16 1996 README 28lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin 29dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev 30drwxrwxrwx 2 98 98 512 May 29 16:04 download.html 31dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc 32drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub 33dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr 34</data> 35</reply> 36 37# 38# Client-side 39<client> 40 41# please send the real CONNECT connect off to the FTP server's port 42<connectport> 43%FTPPORT 44</connectport> 45<server> 46ftp 47http-proxy 48</server> 49<features> 50http 51</features> 52<name> 53FTP LIST tunneled through HTTP proxy 54</name> 55<command> 56ftp://ftp.%TESTNUMBER:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT 57</command> 58</client> 59 60# 61# Verify data after the test has been "shot" 62<verify> 63<strip> 64QUIT 65</strip> 66<protocol> 67USER anonymous 68PASS ftp@example.com 69PWD 70EPSV 71TYPE A 72LIST 73QUIT 74</protocol> 75</verify> 76</testcase> 77