2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2006-09-08 05:49:20 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
PASV
|
|
|
|
RETR
|
2008-08-27 04:11:12 +08:00
|
|
|
multi
|
2006-09-08 05:49:20 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
2008-08-27 04:11:12 +08:00
|
|
|
|
2006-09-08 05:49:20 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
file contents should appear once for each file
|
|
|
|
</data>
|
|
|
|
<datacheck>
|
|
|
|
file contents should appear once for each file
|
|
|
|
file contents should appear once for each file
|
|
|
|
file contents should appear once for each file
|
|
|
|
file contents should appear once for each file
|
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<tool>
|
2021-03-13 00:38:26 +08:00
|
|
|
lib%TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
FTP RETR same file using different handles but same connection
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2006-09-08 05:49:20 +08:00
|
|
|
PWD
|
|
|
|
CWD path
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
EPSV
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
EPSV
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
EPSV
|
2021-03-13 00:38:26 +08:00
|
|
|
SIZE %TESTNUMBER
|
|
|
|
RETR %TESTNUMBER
|
2006-09-08 05:49:20 +08:00
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|