| 1 |
# Server-side |
| 2 |
<reply> |
| 3 |
<data> |
| 4 |
this is file contents |
| 5 |
</data> |
| 6 |
</reply> |
| 7 |
|
| 8 |
# Client-side |
| 9 |
<client> |
| 10 |
<server> |
| 11 |
ftp |
| 12 |
</server> |
| 13 |
<name> |
| 14 |
persistant FTP with different paths |
| 15 |
</name> |
| 16 |
<command> |
| 17 |
ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146 |
| 18 |
</command> |
| 19 |
</client> |
| 20 |
|
| 21 |
# Verify data after the test has been "shot" |
| 22 |
<verify> |
| 23 |
# strip all kinds of PORT, EPRT and LPRT curl can do |
| 24 |
<strip> |
| 25 |
^PORT 127,0,0,1,.* |
| 26 |
^EPRT.* |
| 27 |
^LPRT.* |
| 28 |
</strip> |
| 29 |
<protocol> |
| 30 |
USER anonymous |
| 31 |
PASS [email protected] |
| 32 |
PWD |
| 33 |
CWD first |
| 34 |
CWD dir |
| 35 |
CWD here |
| 36 |
EPSV |
| 37 |
TYPE I |
| 38 |
SIZE 146 |
| 39 |
RETR 146 |
| 40 |
CWD /nowhere/anywhere |
| 41 |
EPSV |
| 42 |
TYPE I |
| 43 |
SIZE 146 |
| 44 |
RETR 146 |
| 45 |
QUIT |
| 46 |
</protocol> |
| 47 |
</verify> |