| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
FTP |
| 5 |
UPLOAD |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
|
| 9 |
# |
| 10 |
# Server-side |
| 11 |
<reply> |
| 12 |
</reply> |
| 13 |
|
| 14 |
# |
| 15 |
# Client-side |
| 16 |
<client> |
| 17 |
<server> |
| 18 |
ftp |
| 19 |
</server> |
| 20 |
<tool> |
| 21 |
lib524 |
| 22 |
</tool> |
| 23 |
<name> |
| 24 |
FTP upload with target URL ending with slash |
| 25 |
</name> |
| 26 |
# first URL then proxy |
| 27 |
<command> |
| 28 |
ftp://%HOSTIP:%FTPPORT/path/to/ |
| 29 |
</command> |
| 30 |
</client> |
| 31 |
|
| 32 |
# |
| 33 |
# Verify data after the test has been "shot" |
| 34 |
<verify> |
| 35 |
<protocol> |
| 36 |
USER anonymous |
| 37 |
PASS [email protected] |
| 38 |
PWD |
| 39 |
</protocol> |
| 40 |
|
| 41 |
# 3 is CURLE_URL_MALFORMAT |
| 42 |
<errorcode> |
| 43 |
3 |
| 44 |
</errorcode> |
| 45 |
</verify> |
| 46 |
</testcase> |