xref: /aosp_15_r20/external/curl/tests/data/test1316 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerFTP
5*6236dae4SAndroid Build Coastguard WorkerPASV
6*6236dae4SAndroid Build Coastguard WorkerLIST
7*6236dae4SAndroid Build Coastguard WorkerHTTP
8*6236dae4SAndroid Build Coastguard WorkerHTTP CONNECT
9*6236dae4SAndroid Build Coastguard WorkerHTTP proxy
10*6236dae4SAndroid Build Coastguard Worker</keywords>
11*6236dae4SAndroid Build Coastguard Worker</info>
12*6236dae4SAndroid Build Coastguard Worker#
13*6236dae4SAndroid Build Coastguard Worker# Server-side
14*6236dae4SAndroid Build Coastguard Worker<reply>
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard Worker<connect>
17*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 200 Mighty fine indeed
18*6236dae4SAndroid Build Coastguard WorkerMagic: sure you can FTP me
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker</connect>
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard Worker<data mode="text">
23*6236dae4SAndroid Build Coastguard Workertotal 20
24*6236dae4SAndroid Build Coastguard Workerdrwxr-xr-x   8 98       98           512 Oct 22 13:06 .
25*6236dae4SAndroid Build Coastguard Workerdrwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
26*6236dae4SAndroid Build Coastguard Workerdrwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
27*6236dae4SAndroid Build Coastguard Worker-r--r--r--   1 0        1             35 Jul 16  1996 README
28*6236dae4SAndroid Build Coastguard Workerlrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
29*6236dae4SAndroid Build Coastguard Workerdr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
30*6236dae4SAndroid Build Coastguard Workerdrwxrwxrwx   2 98       98           512 May 29 16:04 download.html
31*6236dae4SAndroid Build Coastguard Workerdr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
32*6236dae4SAndroid Build Coastguard Workerdrwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
33*6236dae4SAndroid Build Coastguard Workerdr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
34*6236dae4SAndroid Build Coastguard Worker</data>
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
41*6236dae4SAndroid Build Coastguard Worker# please send the real CONNECT connect off to the FTP server's port
42*6236dae4SAndroid Build Coastguard Worker<connectport>
43*6236dae4SAndroid Build Coastguard Worker%FTPPORT
44*6236dae4SAndroid Build Coastguard Worker</connectport>
45*6236dae4SAndroid Build Coastguard Worker<server>
46*6236dae4SAndroid Build Coastguard Workerftp
47*6236dae4SAndroid Build Coastguard Workerhttp-proxy
48*6236dae4SAndroid Build Coastguard Worker</server>
49*6236dae4SAndroid Build Coastguard Worker<features>
50*6236dae4SAndroid Build Coastguard Workerhttp
51*6236dae4SAndroid Build Coastguard Worker</features>
52*6236dae4SAndroid Build Coastguard Worker<name>
53*6236dae4SAndroid Build Coastguard WorkerFTP LIST tunneled through HTTP proxy
54*6236dae4SAndroid Build Coastguard Worker</name>
55*6236dae4SAndroid Build Coastguard Worker<command>
56*6236dae4SAndroid Build Coastguard Workerftp://ftp.%TESTNUMBER:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT
57*6236dae4SAndroid Build Coastguard Worker</command>
58*6236dae4SAndroid Build Coastguard Worker</client>
59*6236dae4SAndroid Build Coastguard Worker
60*6236dae4SAndroid Build Coastguard Worker#
61*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
62*6236dae4SAndroid Build Coastguard Worker<verify>
63*6236dae4SAndroid Build Coastguard Worker<strip>
64*6236dae4SAndroid Build Coastguard WorkerQUIT
65*6236dae4SAndroid Build Coastguard Worker</strip>
66*6236dae4SAndroid Build Coastguard Worker<protocol>
67*6236dae4SAndroid Build Coastguard WorkerUSER anonymous
68*6236dae4SAndroid Build Coastguard WorkerPASS [email protected]
69*6236dae4SAndroid Build Coastguard WorkerPWD
70*6236dae4SAndroid Build Coastguard WorkerEPSV
71*6236dae4SAndroid Build Coastguard WorkerTYPE A
72*6236dae4SAndroid Build Coastguard WorkerLIST
73*6236dae4SAndroid Build Coastguard WorkerQUIT
74*6236dae4SAndroid Build Coastguard Worker</protocol>
75*6236dae4SAndroid Build Coastguard Worker</verify>
76*6236dae4SAndroid Build Coastguard Worker</testcase>
77