| 1 |
# Server-side |
| 2 |
<reply> |
| 3 |
</reply> |
| 4 |
|
| 5 |
# Client-side |
| 6 |
<client> |
| 7 |
<server> |
| 8 |
ftp |
| 9 |
</server> |
| 10 |
<name> |
| 11 |
FTP with multiple uploads |
| 12 |
</name> |
| 13 |
<command> |
| 14 |
-T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148 |
| 15 |
</command> |
| 16 |
<file name="log/upload148"> |
| 17 |
send away this contents |
| 18 |
</file> |
| 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 dir1 |
| 34 |
EPSV |
| 35 |
TYPE I |
| 36 |
STOR 148 |
| 37 |
CWD /nowhere/anywhere |
| 38 |
CWD dir2 |
| 39 |
EPSV |
| 40 |
TYPE I |
| 41 |
STOR 148 |
| 42 |
QUIT |
| 43 |
</protocol> |
| 44 |
<file name="log/upload148"> |
| 45 |
send away this contents |
| 46 |
</file> |
| 47 |
</verify> |