| 1 |
# Server-side |
| 2 |
<reply> |
| 3 |
</reply> |
| 4 |
|
| 5 |
# Client-side |
| 6 |
<client> |
| 7 |
<server> |
| 8 |
ftp |
| 9 |
</server> |
| 10 |
<name> |
| 11 |
FTP upload two files to the same dir |
| 12 |
</name> |
| 13 |
<command> |
| 14 |
-T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/ -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/%2e%2eanotherup |
| 15 |
</command> |
| 16 |
<file name="log/upload.216"> |
| 17 |
upload this file twice |
| 18 |
</file> |
| 19 |
</client> |
| 20 |
|
| 21 |
# Verify data after the test has been "shot" |
| 22 |
<verify> |
| 23 |
<protocol> |
| 24 |
USER anonymous |
| 25 |
PASS [email protected] |
| 26 |
PWD |
| 27 |
CWD a |
| 28 |
CWD path |
| 29 |
CWD 216 |
| 30 |
EPSV |
| 31 |
TYPE I |
| 32 |
STOR upload.216 |
| 33 |
EPSV |
| 34 |
TYPE I |
| 35 |
STOR ..anotherup |
| 36 |
QUIT |
| 37 |
</protocol> |
| 38 |
</verify> |