mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 01:28:51 -05:00
41 lines
493 B
Plaintext
41 lines
493 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
PASV
|
||
|
CWD
|
||
|
--ftp-method
|
||
|
singlecwd
|
||
|
</keywords>
|
||
|
</info>
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<name>
|
||
|
FTP using %00 in path with singlecwd
|
||
|
</name>
|
||
|
<command>
|
||
|
--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/340
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<protocol>
|
||
|
USER anonymous
|
||
|
PASS ftp@example.com
|
||
|
PWD
|
||
|
</protocol>
|
||
|
<errorcode>
|
||
|
3
|
||
|
</errorcode>
|
||
|
</verify>
|
||
|
</testcase>
|