2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-11-26 06:21:49 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
data blobb
|
|
|
|
</data>
|
2004-11-30 18:20:59 +08:00
|
|
|
|
|
|
|
# data is sent to stdout
|
2004-11-26 06:21:49 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
Get two FTP files from the same remote dir: no second CWD
|
|
|
|
</name>
|
2018-10-05 05:53:32 +08:00
|
|
|
<command option="no-include">
|
2004-11-26 06:21:49 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/a/path/210 ftp://%HOSTIP:%FTPPORT/a/path/210
|
|
|
|
</command>
|
2004-11-30 18:20:59 +08:00
|
|
|
<stdout>
|
|
|
|
data blobb
|
|
|
|
data blobb
|
|
|
|
</stdout>
|
|
|
|
</client>
|
2004-11-26 06:21:49 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2004-11-26 06:21:49 +08:00
|
|
|
PWD
|
|
|
|
CWD a
|
|
|
|
CWD path
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 210
|
|
|
|
RETR 210
|
|
|
|
EPSV
|
|
|
|
SIZE 210
|
|
|
|
RETR 210
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|