1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker#based off test 712 3*6236dae4SAndroid Build Coastguard Worker<info> 4*6236dae4SAndroid Build Coastguard Worker<keywords> 5*6236dae4SAndroid Build Coastguard WorkerFTP 6*6236dae4SAndroid Build Coastguard WorkerPASV 7*6236dae4SAndroid Build Coastguard WorkerRETR 8*6236dae4SAndroid Build Coastguard WorkerHTTP 9*6236dae4SAndroid Build Coastguard WorkerHTTP CONNECT 10*6236dae4SAndroid Build Coastguard Workerproxytunnel 11*6236dae4SAndroid Build Coastguard WorkerSOCKS5 12*6236dae4SAndroid Build Coastguard WorkerCURLOPT_CONNECT_TO 13*6236dae4SAndroid Build Coastguard Worker</keywords> 14*6236dae4SAndroid Build Coastguard Worker</info> 15*6236dae4SAndroid Build Coastguard Worker# 16*6236dae4SAndroid Build Coastguard Worker# Server-side 17*6236dae4SAndroid Build Coastguard Worker<reply> 18*6236dae4SAndroid Build Coastguard Worker<connect> 19*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Connection established 20*6236dae4SAndroid Build Coastguard Worker 21*6236dae4SAndroid Build Coastguard Worker</connect> 22*6236dae4SAndroid Build Coastguard Worker 23*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes"> 24*6236dae4SAndroid Build Coastguard Workersilly content 25*6236dae4SAndroid Build Coastguard Worker</data> 26*6236dae4SAndroid Build Coastguard Worker 27*6236dae4SAndroid Build Coastguard Worker<datacheck> 28*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Connection established 29*6236dae4SAndroid Build Coastguard Worker 30*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Connection established 31*6236dae4SAndroid Build Coastguard Worker 32*6236dae4SAndroid Build Coastguard Workersilly content 33*6236dae4SAndroid Build Coastguard Worker</datacheck> 34*6236dae4SAndroid Build Coastguard Worker</reply> 35*6236dae4SAndroid Build Coastguard Worker 36*6236dae4SAndroid Build Coastguard Worker# 37*6236dae4SAndroid Build Coastguard Worker# Client-side 38*6236dae4SAndroid Build Coastguard Worker<client> 39*6236dae4SAndroid Build Coastguard Worker<features> 40*6236dae4SAndroid Build Coastguard Workerproxy 41*6236dae4SAndroid Build Coastguard Worker</features> 42*6236dae4SAndroid Build Coastguard Worker<server> 43*6236dae4SAndroid Build Coastguard Workerftp 44*6236dae4SAndroid Build Coastguard Workerhttp-proxy 45*6236dae4SAndroid Build Coastguard Workersocks5 46*6236dae4SAndroid Build Coastguard Worker</server> 47*6236dae4SAndroid Build Coastguard Worker<features> 48*6236dae4SAndroid Build Coastguard Workerhttp 49*6236dae4SAndroid Build Coastguard Workerproxy 50*6236dae4SAndroid Build Coastguard Worker</features> 51*6236dae4SAndroid Build Coastguard Worker<name> 52*6236dae4SAndroid Build Coastguard WorkerFTP fetch with --preproxy, --proxy and --connect-to 53*6236dae4SAndroid Build Coastguard Worker</name> 54*6236dae4SAndroid Build Coastguard Worker<command> 55*6236dae4SAndroid Build Coastguard Workerftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT 56*6236dae4SAndroid Build Coastguard Worker</command> 57*6236dae4SAndroid Build Coastguard Worker</client> 58*6236dae4SAndroid Build Coastguard Worker 59*6236dae4SAndroid Build Coastguard Worker# 60*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 61*6236dae4SAndroid Build Coastguard Worker<verify> 62*6236dae4SAndroid Build Coastguard Worker<strip> 63*6236dae4SAndroid Build Coastguard WorkerQUIT 64*6236dae4SAndroid Build Coastguard Worker</strip> 65*6236dae4SAndroid Build Coastguard Worker<protocol> 66*6236dae4SAndroid Build Coastguard WorkerUSER anonymous 67*6236dae4SAndroid Build Coastguard WorkerPASS [email protected] 68*6236dae4SAndroid Build Coastguard WorkerPWD 69*6236dae4SAndroid Build Coastguard WorkerEPSV 70*6236dae4SAndroid Build Coastguard WorkerTYPE I 71*6236dae4SAndroid Build Coastguard WorkerSIZE %TESTNUMBER 72*6236dae4SAndroid Build Coastguard WorkerRETR %TESTNUMBER 73*6236dae4SAndroid Build Coastguard WorkerQUIT 74*6236dae4SAndroid Build Coastguard Worker</protocol> 75*6236dae4SAndroid Build Coastguard Worker</verify> 76*6236dae4SAndroid Build Coastguard Worker</testcase> 77