| 1 |
# |
| 2 |
# Server-side |
| 3 |
<reply> |
| 4 |
<data> |
| 5 |
contents of file |
| 6 |
</data> |
| 7 |
</reply> |
| 8 |
|
| 9 |
# Client-side |
| 10 |
<client> |
| 11 |
<server> |
| 12 |
ftp |
| 13 |
</server> |
| 14 |
# tool is what to use instead of 'curl' |
| 15 |
<tool> |
| 16 |
lib520 |
| 17 |
</tool> |
| 18 |
|
| 19 |
<name> |
| 20 |
FTP RETR with FILETIME |
| 21 |
</name> |
| 22 |
<command> |
| 23 |
ftp://%HOSTIP:%FTPPORT/520 |
| 24 |
</command> |
| 25 |
<file name="log/ftpserver.cmd"> |
| 26 |
REPLY MDTM 213 20030405060708 |
| 27 |
</file> |
| 28 |
</client> |
| 29 |
|
| 30 |
# |
| 31 |
# Verify data after the test has been "shot" |
| 32 |
<verify> |
| 33 |
|
| 34 |
<protocol> |
| 35 |
USER anonymous |
| 36 |
PASS [email protected] |
| 37 |
PWD |
| 38 |
MDTM 520 |
| 39 |
EPSV |
| 40 |
TYPE I |
| 41 |
SIZE 520 |
| 42 |
RETR 520 |
| 43 |
QUIT |
| 44 |
</protocol> |
| 45 |
</verify> |