| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
FTP |
| 5 |
RETR |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
|
| 9 |
# Server-side |
| 10 |
<reply> |
| 11 |
<data nocheck="yes"> |
| 12 |
fooo |
| 13 |
mooo |
| 14 |
</data> |
| 15 |
</reply> |
| 16 |
|
| 17 |
# Client-side |
| 18 |
<client> |
| 19 |
<server> |
| 20 |
ftp |
| 21 |
</server> |
| 22 |
<name> |
| 23 |
FTP DL, file without Content-Disposition inside, using -o fname |
| 24 |
</name> |
| 25 |
<command option="no-output,no-include"> |
| 26 |
ftp://%HOSTIP:%FTPPORT/path/file1378 -o log/download1378 |
| 27 |
</command> |
| 28 |
<postcheck> |
| 29 |
perl %SRCDIR/libtest/notexists.pl log/file1378 |
| 30 |
</postcheck> |
| 31 |
</client> |
| 32 |
|
| 33 |
# Verify data after the test has been "shot" |
| 34 |
<verify> |
| 35 |
<protocol> |
| 36 |
USER anonymous |
| 37 |
PASS [email protected] |
| 38 |
PWD |
| 39 |
CWD path |
| 40 |
EPSV |
| 41 |
TYPE I |
| 42 |
SIZE file1378 |
| 43 |
RETR file1378 |
| 44 |
QUIT |
| 45 |
</protocol> |
| 46 |
|
| 47 |
<file1 name="log/download1378"> |
| 48 |
fooo |
| 49 |
mooo |
| 50 |
</file1> |
| 51 |
|
| 52 |
<file2 name="log/stdout1378"> |
| 53 |
</file2> |
| 54 |
|
| 55 |
</verify> |
| 56 |
</testcase> |