mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
74 lines
781 B
Plaintext
74 lines
781 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
PASV
|
||
|
RETR
|
||
|
</keywords>
|
||
|
</info>
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data nocheck="yes">
|
||
|
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 first type=D then regular URL
|
||
|
</name>
|
||
|
<tool>
|
||
|
lib1569
|
||
|
</tool>
|
||
|
<command>
|
||
|
"ftp://%HOSTIP:%FTPPORT/1570;type=D" ftp://%HOSTIP:%FTPPORT/1570
|
||
|
</command>
|
||
|
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
EPSV
|
||
|
PASV
|
||
|
TYPE A
|
||
|
NLST
|
||
|
PASV
|
||
|
TYPE I
|
||
|
SIZE 1570
|
||
|
RETR 1570
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
<stdout>
|
||
|
data
|
||
|
to
|
||
|
see
|
||
|
that FTP
|
||
|
works
|
||
|
so does it?
|
||
|
data
|
||
|
to
|
||
|
see
|
||
|
that FTP
|
||
|
works
|
||
|
so does it?
|
||
|
</stdout>
|
||
|
|
||
|
</testcase>
|