2005-04-27 17:59:47 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
PORT
|
|
|
|
STOR
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2001-09-13 20:51:07 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2001-09-13 20:51:07 +08:00
|
|
|
<name>
|
|
|
|
FTP PORT upload with CWD
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
|
|
|
|
</command>
|
|
|
|
<file name="log/upload108">
|
|
|
|
Moooooooooooo
|
|
|
|
upload this
|
|
|
|
</file>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2001-09-13 20:51:07 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^PORT .*
|
2001-09-23 20:46:04 +08:00
|
|
|
^EPRT .*
|
|
|
|
^LPRT .*
|
2001-09-13 20:51:07 +08:00
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS curl_by_daniel@haxx.se
|
|
|
|
PWD
|
2003-05-01 01:16:25 +08:00
|
|
|
CWD CWD
|
|
|
|
CWD STOR
|
|
|
|
CWD RETR
|
2001-09-13 20:51:07 +08:00
|
|
|
PORT 127,0,0,1,5,109
|
|
|
|
TYPE I
|
|
|
|
STOR 108
|
2004-02-27 15:08:37 +08:00
|
|
|
QUIT
|
2001-09-13 20:51:07 +08:00
|
|
|
</protocol>
|
|
|
|
<upload>
|
|
|
|
Moooooooooooo
|
|
|
|
upload this
|
|
|
|
</upload>
|
|
|
|
</verify>
|