1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard WorkerHTTP GET 6*6236dae4SAndroid Build Coastguard Workerfollowlocation 7*6236dae4SAndroid Build Coastguard WorkerFTP 8*6236dae4SAndroid Build Coastguard WorkerPASV 9*6236dae4SAndroid Build Coastguard WorkerFILE 10*6236dae4SAndroid Build Coastguard Worker</keywords> 11*6236dae4SAndroid Build Coastguard Worker</info> 12*6236dae4SAndroid Build Coastguard Worker 13*6236dae4SAndroid Build Coastguard Worker# 14*6236dae4SAndroid Build Coastguard Worker# Server-side 15*6236dae4SAndroid Build Coastguard Worker<reply> 16*6236dae4SAndroid Build Coastguard Worker<data1> 17*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 302 OK 18*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 19*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake swsclose 20*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html 21*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes 22*6236dae4SAndroid Build Coastguard WorkerLocation: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 23*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 24*6236dae4SAndroid Build Coastguard WorkerConnection: close 25*6236dae4SAndroid Build Coastguard Worker 26*6236dae4SAndroid Build Coastguard Worker</data1> 27*6236dae4SAndroid Build Coastguard Worker<data2> 28*6236dae4SAndroid Build Coastguard Workerdata 29*6236dae4SAndroid Build Coastguard Worker to 30*6236dae4SAndroid Build Coastguard Worker see 31*6236dae4SAndroid Build Coastguard Workerthat FTP 32*6236dae4SAndroid Build Coastguard Workerworks 33*6236dae4SAndroid Build Coastguard Worker so does it? 34*6236dae4SAndroid Build Coastguard Worker</data2> 35*6236dae4SAndroid Build Coastguard Worker</reply> 36*6236dae4SAndroid Build Coastguard Worker 37*6236dae4SAndroid Build Coastguard Worker# 38*6236dae4SAndroid Build Coastguard Worker# Client-side 39*6236dae4SAndroid Build Coastguard Worker<client> 40*6236dae4SAndroid Build Coastguard Worker<server> 41*6236dae4SAndroid Build Coastguard Workerhttp 42*6236dae4SAndroid Build Coastguard Workerftp 43*6236dae4SAndroid Build Coastguard Worker</server> 44*6236dae4SAndroid Build Coastguard Worker<name> 45*6236dae4SAndroid Build Coastguard WorkerHTTP Location: redirect to FTP URL 46*6236dae4SAndroid Build Coastguard Worker</name> 47*6236dae4SAndroid Build Coastguard Worker<command> 48*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -L 49*6236dae4SAndroid Build Coastguard Worker</command> 50*6236dae4SAndroid Build Coastguard Worker</client> 51*6236dae4SAndroid Build Coastguard Worker 52*6236dae4SAndroid Build Coastguard Worker# 53*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 54*6236dae4SAndroid Build Coastguard Worker<verify> 55*6236dae4SAndroid Build Coastguard Worker<strip> 56*6236dae4SAndroid Build Coastguard WorkerQUIT 57*6236dae4SAndroid Build Coastguard Worker</strip> 58*6236dae4SAndroid Build Coastguard Worker<protocol> 59*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER0001 HTTP/1.1 60*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT 61*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 62*6236dae4SAndroid Build Coastguard WorkerAccept: */* 63*6236dae4SAndroid Build Coastguard Worker 64*6236dae4SAndroid Build Coastguard WorkerUSER anonymous 65*6236dae4SAndroid Build Coastguard WorkerPASS [email protected] 66*6236dae4SAndroid Build Coastguard WorkerPWD 67*6236dae4SAndroid Build Coastguard WorkerEPSV 68*6236dae4SAndroid Build Coastguard WorkerTYPE I 69*6236dae4SAndroid Build Coastguard WorkerSIZE %TESTNUMBER0002 70*6236dae4SAndroid Build Coastguard WorkerRETR %TESTNUMBER0002 71*6236dae4SAndroid Build Coastguard WorkerQUIT 72*6236dae4SAndroid Build Coastguard Worker</protocol> 73*6236dae4SAndroid Build Coastguard Worker<stdout> 74*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 302 OK 75*6236dae4SAndroid Build Coastguard WorkerDate: Tue, 09 Nov 2010 14:49:00 GMT 76*6236dae4SAndroid Build Coastguard WorkerServer: test-server/fake swsclose 77*6236dae4SAndroid Build Coastguard WorkerContent-Type: text/html 78*6236dae4SAndroid Build Coastguard WorkerFunny-head: yesyes 79*6236dae4SAndroid Build Coastguard WorkerLocation: ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 80*6236dae4SAndroid Build Coastguard WorkerContent-Length: 0 81*6236dae4SAndroid Build Coastguard WorkerConnection: close 82*6236dae4SAndroid Build Coastguard Worker 83*6236dae4SAndroid Build Coastguard Workerdata 84*6236dae4SAndroid Build Coastguard Worker to 85*6236dae4SAndroid Build Coastguard Worker see 86*6236dae4SAndroid Build Coastguard Workerthat FTP 87*6236dae4SAndroid Build Coastguard Workerworks 88*6236dae4SAndroid Build Coastguard Worker so does it? 89*6236dae4SAndroid Build Coastguard Worker</stdout> 90*6236dae4SAndroid Build Coastguard Worker</verify> 91*6236dae4SAndroid Build Coastguard Worker</testcase> 92