curl-w32/tests/data/test124

48 lines
595 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
FTP
PASV
RETR
</keywords>
</info>
# Server-side
<reply>
<data>
we can still send data even if pwd fails!
</data>
<servercmd>
REPLY PWD 314 bluah you f00l!
REPLY EPSV 314 bluah you f00l!
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP download, failed PWD
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
PASV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>