113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFTP
513498266Sopenharmony_ciPASV
613498266Sopenharmony_ciRETR
713498266Sopenharmony_ci</keywords>
813498266Sopenharmony_ci</info>
913498266Sopenharmony_ci# Server-side
1013498266Sopenharmony_ci<reply>
1113498266Sopenharmony_ci<data>
1213498266Sopenharmony_cisilly data
1313498266Sopenharmony_ciover FTP
1413498266Sopenharmony_ci</data>
1513498266Sopenharmony_ci</reply>
1613498266Sopenharmony_ci
1713498266Sopenharmony_ci# Client-side
1813498266Sopenharmony_ci<client>
1913498266Sopenharmony_ci<server>
2013498266Sopenharmony_ciftp
2113498266Sopenharmony_ci</server>
2213498266Sopenharmony_ci<tool>
2313498266Sopenharmony_cilib%TESTNUMBER
2413498266Sopenharmony_ci</tool>
2513498266Sopenharmony_ci<name>
2613498266Sopenharmony_ciFTP a type=A URL and CURLOPT_PORT set
2713498266Sopenharmony_ci</name>
2813498266Sopenharmony_ci
2913498266Sopenharmony_ci# note that we need quotes around the URL below to make sure the shell doesn't
3013498266Sopenharmony_ci# treat the semicolon as a separator!
3113498266Sopenharmony_ci<command>
3213498266Sopenharmony_ci'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT
3313498266Sopenharmony_ci</command>
3413498266Sopenharmony_ci
3513498266Sopenharmony_ci</client>
3613498266Sopenharmony_ci
3713498266Sopenharmony_ci# Verify data after the test has been "shot"
3813498266Sopenharmony_ci#
3913498266Sopenharmony_ci# There's no MTDM in the protocol here since this code doesn't ask for the
4013498266Sopenharmony_ci# time/date of the file
4113498266Sopenharmony_ci<verify>
4213498266Sopenharmony_ci<protocol>
4313498266Sopenharmony_ciUSER anonymous
4413498266Sopenharmony_ciPASS ftp@example.com
4513498266Sopenharmony_ciPWD
4613498266Sopenharmony_ciEPSV
4713498266Sopenharmony_ciTYPE A
4813498266Sopenharmony_ciRETR %TESTNUMBER
4913498266Sopenharmony_ciQUIT
5013498266Sopenharmony_ci</protocol>
5113498266Sopenharmony_ci</verify>
5213498266Sopenharmony_ci</testcase>
53