mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
54 lines
636 B
Plaintext
54 lines
636 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
PASV
|
|
TYPE A
|
|
RETR
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
data
|
|
to
|
|
see
|
|
that FTP
|
|
works
|
|
so does it?
|
|
</data>
|
|
<servercmd>
|
|
REPLY EPSV 500 no such command
|
|
REPLY SIZE 500 no such command
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP user+password in URL and ASCII transfer
|
|
</name>
|
|
<command>
|
|
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER userdude
|
|
PASS passfellow
|
|
PWD
|
|
EPSV
|
|
PASV
|
|
TYPE A
|
|
SIZE 105
|
|
RETR 105
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|