1<testcase> 2#based off test 712 3<info> 4<keywords> 5FTP 6PASV 7RETR 8HTTP 9HTTP CONNECT 10proxytunnel 11SOCKS5 12CURLOPT_CONNECT_TO 13</keywords> 14</info> 15# 16# Server-side 17<reply> 18<connect> 19HTTP/1.1 200 Connection established 20 21</connect> 22 23<data nocheck="yes"> 24silly content 25</data> 26 27<datacheck> 28HTTP/1.1 200 Connection established 29 30HTTP/1.1 200 Connection established 31 32silly content 33</datacheck> 34</reply> 35 36# 37# Client-side 38<client> 39<features> 40proxy 41</features> 42<server> 43ftp 44http-proxy 45socks5 46</server> 47<features> 48http 49proxy 50</features> 51<name> 52FTP fetch with --preproxy, --proxy and --connect-to 53</name> 54<command> 55ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 56</command> 57</client> 58 59# 60# Verify data after the test has been "shot" 61<verify> 62<strip> 63QUIT 64</strip> 65<protocol> 66USER anonymous 67PASS ftp@example.com 68PWD 69EPSV 70TYPE I 71SIZE %TESTNUMBER 72RETR %TESTNUMBER 73QUIT 74</protocol> 75</verify> 76</testcase> 77