mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
51 lines
633 B
Plaintext
51 lines
633 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
PASV
|
||
|
RETR
|
||
|
FAILURE
|
||
|
</keywords>
|
||
|
</info>
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<servercmd>
|
||
|
REPLY RETR 550 no such file!
|
||
|
</servercmd>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
Two FTP downloads, with failed RETR but re-used control connection
|
||
|
</name>
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT/dir/1096 ftp://%HOSTIP:%FTPPORT/dir/1096
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<errorcode>
|
||
|
78
|
||
|
</errorcode>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
CWD dir
|
||
|
EPSV
|
||
|
TYPE I
|
||
|
SIZE 1096
|
||
|
RETR 1096
|
||
|
EPSV
|
||
|
SIZE 1096
|
||
|
RETR 1096
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|