mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
52 lines
633 B
Plaintext
52 lines
633 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
TYPE A
|
|
RETR
|
|
type=
|
|
</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 GET with type=A style ASCII URL using %20 codes
|
|
</name>
|
|
<command>
|
|
"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces//and%20things2/%TESTNUMBER;type=A"
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
CWD /
|
|
CWD path with spaces
|
|
CWD and things2
|
|
EPSV
|
|
TYPE A
|
|
RETR %TESTNUMBER
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|