mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
4efa0d9f68
the left side of @ to make it short(er).
49 lines
719 B
Plaintext
49 lines
719 B
Plaintext
<testcase>
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP with multiple uploads
|
|
</name>
|
|
<command>
|
|
-T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148
|
|
</command>
|
|
<file name="log/upload148">
|
|
send away this contents
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# strip all kinds of PORT, EPRT and LPRT curl can do
|
|
<strip>
|
|
^PORT 127,0,0,1,.*
|
|
^EPRT.*
|
|
^LPRT.*
|
|
</strip>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
CWD dir1
|
|
EPSV
|
|
TYPE I
|
|
STOR 148
|
|
CWD /nowhere/anywhere
|
|
CWD dir2
|
|
EPSV
|
|
STOR 148
|
|
QUIT
|
|
</protocol>
|
|
<file name="log/upload148">
|
|
send away this contents
|
|
</file>
|
|
</verify>
|
|
</testcase>
|