mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 14:35:03 -05:00
33bea767eb
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
49 lines
599 B
Plaintext
49 lines
599 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
RETR
|
|
RETRWEIRDO
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
this is file contents
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP download with multiple replies at once in RETR
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/126
|
|
</command>
|
|
<file name="log/ftpserver.cmd">
|
|
RETRWEIRDO
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS curl_by_daniel@haxx.se
|
|
PWD
|
|
CWD blalbla
|
|
CWD lululul
|
|
EPSV
|
|
TYPE I
|
|
SIZE 126
|
|
RETR 126
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|