Newer
Older
<testcase>
<info>
<keywords>
FTP
PORT
RETR
FAILURE
</keywords>
</info>
<servercmd>
REPLY RETR 314 bluah you f00l!
</servercmd>
Daniel Stenberg
committed
<server>
ftp
</server>
<name>
FTP download, failed RETR with PORT
</name>
<command>
ftp://%HOSTIP:%FTPPORT/119 -P -
</command>
# Verify data after the test has been "shot"
<verify>
<errorcode>
19
</errorcode>
# Strip all valid kinds of PORT and EPRT that curl can send
^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
Daniel Stenberg
committed
PASS ftp@example.com
QUIT
</testcase>