1<testcase> 2<info> 3<keywords> 4FTP 5CURLOPT_PROXY_TRANSFER_MODE 6CURLOPT_PROXY 7HTTP proxy 8</keywords> 9</info> 10 11# 12# Server-side 13<reply> 14<data nocheck="yes"> 15HTTP/1.1 200 OK swsclose 16Date: Tue, 09 Nov 2010 14:49:00 GMT 17Server: test-server/fake 18Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 19ETag: "21025-dc7-39462498" 20Accept-Ranges: bytes 21Content-Length: 6 22 23hello 24</data> 25</reply> 26 27# 28# Client-side 29<client> 30<server> 31http 32</server> 33<features> 34ftp 35proxy 36</features> 37<tool> 38lib%TESTNUMBER 39</tool> 40<name> 41FTP RETR over proxy with CURLOPT_PROXY_TRANSFER_MODE 42</name> 43# first URL then proxy 44<command> 45ftp://www.example.com/moo/%TESTNUMBER http://%HOSTIP:%HTTPPORT 46</command> 47</client> 48 49# 50# Verify data after the test has been "shot" 51<verify> 52<protocol> 53GET ftp://www.example.com/moo/%TESTNUMBER;type=i HTTP/1.1 54Host: www.example.com:21 55Accept: */* 56Proxy-Connection: Keep-Alive 57 58</protocol> 59<stdout> 60hello 61</stdout> 62</verify> 63</testcase> 64