| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
FTP |
| 4 |
--head |
| 5 |
</keywords> |
| 6 |
</info> |
| 7 |
# Server-side |
| 8 |
<reply> |
| 9 |
<size> |
| 10 |
51 |
| 11 |
</size> |
| 12 |
</reply> |
| 13 |
|
| 14 |
# Client-side |
| 15 |
<client> |
| 16 |
<server> |
| 17 |
ftp |
| 18 |
</server> |
| 19 |
<name> |
| 20 |
FTP --head to get file size only |
| 21 |
</name> |
| 22 |
<command> |
| 23 |
ftp://%HOSTIP:%FTPPORT/a/path/103 --head |
| 24 |
</command> |
| 25 |
</client> |
| 26 |
|
| 27 |
# Verify data after the test has been "shot" |
| 28 |
<verify> |
| 29 |
<protocol> |
| 30 |
USER anonymous |
| 31 |
PASS [email protected] |
| 32 |
PWD |
| 33 |
CWD a |
| 34 |
CWD path |
| 35 |
MDTM 103 |
| 36 |
TYPE I |
| 37 |
SIZE 103 |
| 38 |
REST 0 |
| 39 |
QUIT |
| 40 |
</protocol> |
| 41 |
</verify> |