| 1 |
<info> |
| 2 |
<keywords> |
| 3 |
FTP |
| 4 |
EPSV |
| 5 |
STOR |
| 6 |
--crlf |
| 7 |
</keywords> |
| 8 |
</info> |
| 9 |
# Server-side |
| 10 |
<reply> |
| 11 |
</reply> |
| 12 |
|
| 13 |
# Client-side |
| 14 |
<client> |
| 15 |
<server> |
| 16 |
ftp |
| 17 |
</server> |
| 18 |
<name> |
| 19 |
FTP upload with --crlf |
| 20 |
</name> |
| 21 |
<command> |
| 22 |
ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf |
| 23 |
</command> |
| 24 |
<file name="log/upload128"> |
| 25 |
file |
| 26 |
with unix newlines |
| 27 |
meant to be |
| 28 |
converted |
| 29 |
with |
| 30 |
the |
| 31 |
--crlf option |
| 32 |
</file> |
| 33 |
</client> |
| 34 |
|
| 35 |
# Verify data after the test has been "shot" |
| 36 |
<verify> |
| 37 |
<protocol> |
| 38 |
USER anonymous |
| 39 |
PASS [email protected] |
| 40 |
PWD |
| 41 |
EPSV |
| 42 |
TYPE I |
| 43 |
STOR 128 |
| 44 |
QUIT |
| 45 |
</protocol> |
| 46 |
<upload> |
| 47 |
file |
| 48 |
with unix newlines |
| 49 |
meant to be |
| 50 |
converted |
| 51 |
with |
| 52 |
the |
| 53 |
--crlf option |
| 54 |
</upload> |
| 55 |
</verify> |