curl/tests/data/test127
Daniel Stenberg 4efa0d9f68 ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on
the left side of @ to make it short(er).
2007-02-13 22:50:16 +00:00

47 lines
515 B
Plaintext

<testcase>
<info>
<keywords>
FTP
PASV
RETR
--disable-epsv
</keywords>
</info>
# Server-side
<reply>
<data>
moooooooo
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP --disable-epsv
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
CWD path
CWD to
CWD file
PASV
TYPE I
SIZE 127
RETR 127
QUIT
</protocol>
</verify>
</testcase>