2008-07-11 13:08:06 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
EPSV
|
|
|
|
APPE
|
|
|
|
Resume
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<size>
|
|
|
|
17
|
|
|
|
</size>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP PASV upload resume from end of file
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/upload%TESTNUMBER -C -
|
2008-07-11 13:08:06 +08:00
|
|
|
</command>
|
2021-03-13 00:38:26 +08:00
|
|
|
<file name="log/upload%TESTNUMBER">
|
2008-07-11 13:08:06 +08:00
|
|
|
this is the *****cr@p******** that we're gonna upload
|
|
|
|
|
|
|
|
worx?
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
APPE %TESTNUMBER
|
2008-07-11 13:08:06 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
<upload>
|
|
|
|
cr@p******** that we're gonna upload
|
|
|
|
|
|
|
|
worx?
|
|
|
|
</upload>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|