xref: /third_party/curl/tests/data/test407 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFTP
513498266Sopenharmony_ciFTPS
613498266Sopenharmony_ciPASV
713498266Sopenharmony_ciRETR
813498266Sopenharmony_ci</keywords>
913498266Sopenharmony_ci</info>
1013498266Sopenharmony_ci
1113498266Sopenharmony_ci# Server-side
1213498266Sopenharmony_ci<reply>
1313498266Sopenharmony_ci<data>
1413498266Sopenharmony_cidata blobb
1513498266Sopenharmony_ci</data>
1613498266Sopenharmony_ci
1713498266Sopenharmony_ci# data is sent to stdout
1813498266Sopenharmony_ci</reply>
1913498266Sopenharmony_ci
2013498266Sopenharmony_ci# Client-side
2113498266Sopenharmony_ci<client>
2213498266Sopenharmony_ci<features>
2313498266Sopenharmony_ciSSL
2413498266Sopenharmony_ci</features>
2513498266Sopenharmony_ci<server>
2613498266Sopenharmony_ciftps
2713498266Sopenharmony_ci</server>
2813498266Sopenharmony_ci<name>
2913498266Sopenharmony_ciGet two FTPS files from the same remote dir: no second CWD
3013498266Sopenharmony_ci</name>
3113498266Sopenharmony_ci<command>
3213498266Sopenharmony_ci-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER
3313498266Sopenharmony_ci</command>
3413498266Sopenharmony_ci<stdout>
3513498266Sopenharmony_cidata blobb
3613498266Sopenharmony_cidata blobb
3713498266Sopenharmony_ci</stdout>
3813498266Sopenharmony_ci</client>
3913498266Sopenharmony_ci
4013498266Sopenharmony_ci# Verify data after the test has been "shot"
4113498266Sopenharmony_ci<verify>
4213498266Sopenharmony_ci<protocol>
4313498266Sopenharmony_ciUSER anonymous
4413498266Sopenharmony_ciPASS ftp@example.com
4513498266Sopenharmony_ciPBSZ 0
4613498266Sopenharmony_ciPROT C
4713498266Sopenharmony_ciPWD
4813498266Sopenharmony_ciCWD a
4913498266Sopenharmony_ciCWD path
5013498266Sopenharmony_ciEPSV
5113498266Sopenharmony_ciTYPE I
5213498266Sopenharmony_ciSIZE %TESTNUMBER
5313498266Sopenharmony_ciRETR %TESTNUMBER
5413498266Sopenharmony_ciEPSV
5513498266Sopenharmony_ciSIZE %TESTNUMBER
5613498266Sopenharmony_ciRETR %TESTNUMBER
5713498266Sopenharmony_ciQUIT
5813498266Sopenharmony_ci</protocol>
5913498266Sopenharmony_ci</verify>
6013498266Sopenharmony_ci</testcase>
61