mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
57 lines
622 B
Plaintext
57 lines
622 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 two files using absolute paths
|
||
|
</name>
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT//foo/1225 ftp://%HOSTIP:%FTPPORT//foo/bar/1225
|
||
|
</command>
|
||
|
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
CWD /
|
||
|
CWD foo
|
||
|
EPSV
|
||
|
TYPE I
|
||
|
SIZE 1225
|
||
|
RETR 1225
|
||
|
CWD /
|
||
|
CWD foo
|
||
|
CWD bar
|
||
|
EPSV
|
||
|
SIZE 1225
|
||
|
RETR 1225
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|