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>
|
2023-10-04 17:35:54 +08:00
|
|
|
<name>
|
2008-07-11 13:08:06 +08:00
|
|
|
FTP PASV upload resume from end of file
|
2023-10-04 17:35:54 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2023-03-29 09:20:54 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
|
2008-07-11 13:08:06 +08:00
|
|
|
</command>
|
2023-03-29 09:20:54 +08:00
|
|
|
<file name="%LOGDIR/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>
|
2024-08-06 05:54:13 +08:00
|
|
|
<strip>
|
|
|
|
QUIT
|
|
|
|
</strip>
|
2008-07-11 13:08:06 +08:00
|
|
|
<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>
|