mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
50 lines
519 B
Plaintext
50 lines
519 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
PASV
|
||
|
RETR
|
||
|
</keywords>
|
||
|
</info>
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data>
|
||
|
data
|
||
|
to
|
||
|
see
|
||
|
that FTP
|
||
|
works
|
||
|
so does it?
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
FTP fetch a file from the root directory
|
||
|
</name>
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT//1224
|
||
|
</command>
|
||
|
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
CWD /
|
||
|
EPSV
|
||
|
TYPE I
|
||
|
SIZE 1224
|
||
|
RETR 1224
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|