xref: /third_party/curl/tests/data/test1316 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFTP
513498266Sopenharmony_ciPASV
613498266Sopenharmony_ciLIST
713498266Sopenharmony_ciHTTP
813498266Sopenharmony_ciHTTP CONNECT
913498266Sopenharmony_ciHTTP proxy
1013498266Sopenharmony_ci</keywords>
1113498266Sopenharmony_ci</info>
1213498266Sopenharmony_ci#
1313498266Sopenharmony_ci# Server-side
1413498266Sopenharmony_ci<reply>
1513498266Sopenharmony_ci
1613498266Sopenharmony_ci<connect>
1713498266Sopenharmony_ciHTTP/1.1 200 Mighty fine indeed
1813498266Sopenharmony_ciMagic: sure you can FTP me
1913498266Sopenharmony_ci
2013498266Sopenharmony_ci</connect>
2113498266Sopenharmony_ci
2213498266Sopenharmony_ci# When doing LIST, we get the default list output hard-coded in the test
2313498266Sopenharmony_ci# FTP server
2413498266Sopenharmony_ci<datacheck mode="text">
2513498266Sopenharmony_ciHTTP/1.1 200 Mighty fine indeed
2613498266Sopenharmony_ciMagic: sure you can FTP me
2713498266Sopenharmony_ci
2813498266Sopenharmony_ciHTTP/1.1 200 Mighty fine indeed
2913498266Sopenharmony_ciMagic: sure you can FTP me
3013498266Sopenharmony_ci
3113498266Sopenharmony_citotal 20
3213498266Sopenharmony_cidrwxr-xr-x   8 98       98           512 Oct 22 13:06 .
3313498266Sopenharmony_cidrwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
3413498266Sopenharmony_cidrwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
3513498266Sopenharmony_ci-r--r--r--   1 0        1             35 Jul 16  1996 README
3613498266Sopenharmony_cilrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
3713498266Sopenharmony_cidr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
3813498266Sopenharmony_cidrwxrwxrwx   2 98       98           512 May 29 16:04 download.html
3913498266Sopenharmony_cidr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
4013498266Sopenharmony_cidrwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
4113498266Sopenharmony_cidr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
4213498266Sopenharmony_ci</datacheck>
4313498266Sopenharmony_ci</reply>
4413498266Sopenharmony_ci
4513498266Sopenharmony_ci#
4613498266Sopenharmony_ci# Client-side
4713498266Sopenharmony_ci<client>
4813498266Sopenharmony_ci
4913498266Sopenharmony_ci# please send the real CONNECT connect off to the FTP server's port
5013498266Sopenharmony_ci<connectport>
5113498266Sopenharmony_ci%FTPPORT
5213498266Sopenharmony_ci</connectport>
5313498266Sopenharmony_ci<server>
5413498266Sopenharmony_ciftp
5513498266Sopenharmony_cihttp-proxy
5613498266Sopenharmony_ci</server>
5713498266Sopenharmony_ci<features>
5813498266Sopenharmony_cihttp
5913498266Sopenharmony_ci</features>
6013498266Sopenharmony_ci<name>
6113498266Sopenharmony_ciFTP LIST tunneled through HTTP proxy
6213498266Sopenharmony_ci</name>
6313498266Sopenharmony_ci<command>
6413498266Sopenharmony_ciftp://ftp.%TESTNUMBER:%FTPPORT/ -p -x %HOSTIP:%PROXYPORT
6513498266Sopenharmony_ci</command>
6613498266Sopenharmony_ci</client>
6713498266Sopenharmony_ci
6813498266Sopenharmony_ci#
6913498266Sopenharmony_ci# Verify data after the test has been "shot"
7013498266Sopenharmony_ci<verify>
7113498266Sopenharmony_ci<protocol>
7213498266Sopenharmony_ciUSER anonymous
7313498266Sopenharmony_ciPASS ftp@example.com
7413498266Sopenharmony_ciPWD
7513498266Sopenharmony_ciEPSV
7613498266Sopenharmony_ciTYPE A
7713498266Sopenharmony_ciLIST
7813498266Sopenharmony_ciQUIT
7913498266Sopenharmony_ci</protocol>
8013498266Sopenharmony_ci</verify>
8113498266Sopenharmony_ci</testcase>
82