mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
53 lines
570 B
Plaintext
53 lines
570 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
EPSV
|
||
|
TYPE A
|
||
|
RETR
|
||
|
type=
|
||
|
</keywords>
|
||
|
</info>
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<size>
|
||
|
37
|
||
|
</size>
|
||
|
<data>
|
||
|
data
|
||
|
to
|
||
|
see
|
||
|
that FTP
|
||
|
works
|
||
|
so does it?
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
FTP GET with type=A style ASCII URL and understated server SIZE
|
||
|
</name>
|
||
|
<command>
|
||
|
"ftp://%HOSTIP:%FTPPORT/129;type=A"
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
EPSV
|
||
|
TYPE A
|
||
|
SIZE 129
|
||
|
RETR 129
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
</verify>
|
||
|
</testcase>
|