1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 05:25:06 -05:00
curl/tests/data/test1137

53 lines
616 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
FTP
PASV
RETR
--ignore-content-length
</keywords>
</info>
# Server-side
<reply>
<data>
data
to
see
that FTP
works
so does it?
</data>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP RETR --ignore-content-length
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ignore-content-length
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
PASV
TYPE I
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>