2010-05-12 09:33:22 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
2010-08-25 19:43:26 -04:00
|
|
|
RETR
|
|
|
|
LIST
|
2010-05-12 09:33:22 -04:00
|
|
|
wildcardmatch
|
|
|
|
ftplistparser
|
2014-10-26 08:48:46 -04:00
|
|
|
flaky
|
2010-05-12 09:33:22 -04:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2014-02-15 03:12:59 -05:00
|
|
|
<data>
|
2010-05-12 09:33:22 -04:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<tool>
|
|
|
|
lib574
|
|
|
|
</tool>
|
|
|
|
<name>
|
|
|
|
FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
|
|
|
|
</name>
|
|
|
|
<command>
|
2010-08-25 19:43:26 -04:00
|
|
|
"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
|
2010-05-12 09:33:22 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
############################################
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
0
|
|
|
|
</errorcode>
|
2010-08-25 19:43:26 -04:00
|
|
|
# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
|
2010-05-12 09:33:22 -04:00
|
|
|
<protocol>
|
2010-08-25 19:43:26 -04:00
|
|
|
USER anonymous
|
|
|
|
PASS ftp@example.com
|
|
|
|
PWD
|
|
|
|
CWD fully_simulated
|
|
|
|
CWD DOS
|
|
|
|
EPSV
|
|
|
|
TYPE A
|
|
|
|
LIST
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
RETR chmod1
|
|
|
|
EPSV
|
|
|
|
RETR chmod2
|
|
|
|
EPSV
|
|
|
|
RETR chmod3
|
|
|
|
EPSV
|
|
|
|
RETR empty_file.dat
|
|
|
|
EPSV
|
|
|
|
RETR file.txt
|
|
|
|
EPSV
|
|
|
|
RETR someothertext.txt
|
|
|
|
CWD /
|
|
|
|
CWD fully_simulated
|
|
|
|
CWD DOS
|
|
|
|
EPSV
|
|
|
|
TYPE A
|
|
|
|
LIST
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
RETR chmod1
|
|
|
|
EPSV
|
|
|
|
RETR chmod2
|
|
|
|
EPSV
|
|
|
|
RETR chmod3
|
|
|
|
EPSV
|
|
|
|
RETR empty_file.dat
|
|
|
|
EPSV
|
|
|
|
RETR file.txt
|
|
|
|
EPSV
|
|
|
|
RETR someothertext.txt
|
|
|
|
QUIT
|
2010-05-12 09:33:22 -04:00
|
|
|
</protocol>
|
2014-02-15 03:12:59 -05:00
|
|
|
<stdout>
|
2010-05-12 09:33:22 -04:00
|
|
|
This file should have permissions 444
|
|
|
|
This file should have permissions 666
|
|
|
|
This file should have permissions 777
|
|
|
|
This is content of file "file.txt"
|
|
|
|
Some junk ;-) This file does not really exist.
|
|
|
|
This file should have permissions 444
|
|
|
|
This file should have permissions 666
|
|
|
|
This file should have permissions 777
|
|
|
|
This is content of file "file.txt"
|
|
|
|
Some junk ;-) This file does not really exist.
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|