2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2006-03-03 21:09:30 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
UPLOAD
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<tool>
|
2021-03-13 00:38:26 +08:00
|
|
|
lib%TESTNUMBER
|
2006-03-03 21:09:30 +08:00
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
FTP upload with target URL ending with slash
|
|
|
|
</name>
|
|
|
|
# first URL then proxy
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/path/to/
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2006-03-03 21:09:30 +08:00
|
|
|
PWD
|
|
|
|
</protocol>
|
|
|
|
|
|
|
|
# 3 is CURLE_URL_MALFORMAT
|
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|