xref: /third_party/curl/tests/data/test546 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFTP
513498266Sopenharmony_ciPASV
613498266Sopenharmony_ciRETR
713498266Sopenharmony_cimulti
813498266Sopenharmony_ci</keywords>
913498266Sopenharmony_ci</info>
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<data nocheck="yes">
1313498266Sopenharmony_cidata
1413498266Sopenharmony_ci    to
1513498266Sopenharmony_ci      see
1613498266Sopenharmony_cithat FTP
1713498266Sopenharmony_ciworks
1813498266Sopenharmony_ci  so does it?
1913498266Sopenharmony_ci</data>
2013498266Sopenharmony_ci
2113498266Sopenharmony_ci<servercmd>
2213498266Sopenharmony_ciREPLY RETR 550 the file doesn't exist
2313498266Sopenharmony_ciCOUNT RETR 1
2413498266Sopenharmony_ciREPLY SIZE 500 Can't check for file existence
2513498266Sopenharmony_ciCOUNT SIZE 1
2613498266Sopenharmony_ci</servercmd>
2713498266Sopenharmony_ci</reply>
2813498266Sopenharmony_ci
2913498266Sopenharmony_ci# Client-side
3013498266Sopenharmony_ci<client>
3113498266Sopenharmony_ci<server>
3213498266Sopenharmony_ciftp
3313498266Sopenharmony_ci</server>
3413498266Sopenharmony_ci<tool>
3513498266Sopenharmony_cilib533
3613498266Sopenharmony_ci</tool>
3713498266Sopenharmony_ci<name>
3813498266Sopenharmony_ciFTP RETR a non-existing file then a found one using the multi interface
3913498266Sopenharmony_ci</name>
4013498266Sopenharmony_ci<command>
4113498266Sopenharmony_ciftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
4213498266Sopenharmony_ci</command>
4313498266Sopenharmony_ci</client>
4413498266Sopenharmony_ci
4513498266Sopenharmony_ci# Verify data after the test has been "shot"
4613498266Sopenharmony_ci<verify>
4713498266Sopenharmony_ci<protocol>
4813498266Sopenharmony_ciUSER anonymous
4913498266Sopenharmony_ciPASS ftp@example.com
5013498266Sopenharmony_ciPWD
5113498266Sopenharmony_ciCWD path
5213498266Sopenharmony_ciEPSV
5313498266Sopenharmony_ciTYPE I
5413498266Sopenharmony_ciSIZE %TESTNUMBER
5513498266Sopenharmony_ciRETR %TESTNUMBER
5613498266Sopenharmony_ciEPSV
5713498266Sopenharmony_ciSIZE %TESTNUMBER
5813498266Sopenharmony_ciRETR %TESTNUMBER
5913498266Sopenharmony_ciQUIT
6013498266Sopenharmony_ci</protocol>
6113498266Sopenharmony_ci<stdout>
6213498266Sopenharmony_cidata
6313498266Sopenharmony_ci    to
6413498266Sopenharmony_ci      see
6513498266Sopenharmony_cithat FTP
6613498266Sopenharmony_ciworks
6713498266Sopenharmony_ci  so does it?
6813498266Sopenharmony_ci</stdout>
6913498266Sopenharmony_ci</verify>
7013498266Sopenharmony_ci</testcase>
71