mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-02-24 20:21:11 +00:00
51 lines
624 B
Text
51 lines
624 B
Text
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
CURLE_PARTIAL_FILE
|
|
RETR
|
|
PASV
|
|
</keywords>
|
|
</info>
|
|
<reply>
|
|
<data>
|
|
1oooooooooooooooooooooooooooooooooooooooooo2
|
|
</data>
|
|
<size>
|
|
10928
|
|
</size>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP RETR PASV
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/161
|
|
</command>
|
|
</client>
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control
|
|
# connection as bad
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
SIZE 161
|
|
RETR 161
|
|
QUIT
|
|
</protocol>
|
|
<errorcode>
|
|
18
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|