1<testcase> 2<info> 3<keywords> 4FTP 5HTTP proxy 6CURLOPT_PROXY 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Content-Length: 6 17 18hello 19</data> 20 21</reply> 22 23# 24# Client-side 25<client> 26<server> 27http 28</server> 29<features> 30http 31ftp 32proxy 33</features> 34<name> 35FTP RETR twice over proxy confirming persistent connection 36</name> 37 38<command> 39ftp://ftp-site/moo/%TESTNUMBER ftp://ftp-site/moo/%TESTNUMBER --proxy http://%HOSTIP:%HTTPPORT 40</command> 41</client> 42 43# 44# Verify data after the test has been "shot" 45<verify> 46<protocol> 47GET ftp://ftp-site/moo/%TESTNUMBER HTTP/1.1 48Host: ftp-site:21 49User-Agent: curl/%VERSION 50Accept: */* 51Proxy-Connection: Keep-Alive 52 53GET ftp://ftp-site/moo/%TESTNUMBER HTTP/1.1 54Host: ftp-site:21 55User-Agent: curl/%VERSION 56Accept: */* 57Proxy-Connection: Keep-Alive 58 59</protocol> 60<stdout> 61HTTP/1.1 200 OK 62Date: Tue, 09 Nov 2010 14:49:00 GMT 63Content-Length: 6 64 65hello 66HTTP/1.1 200 OK 67Date: Tue, 09 Nov 2010 14:49:00 GMT 68Content-Length: 6 69 70hello 71</stdout> 72</verify> 73</testcase> 74