• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5RETR
6LIST
7wildcardmatch
8ftplistparser
9flaky
10</keywords>
11</info>
12
13#
14# Server-side
15<reply>
16<data>
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23ftp
24</server>
25<tool>
26lib574
27</tool>
28<name>
29FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
30</name>
31<command>
32"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
33</command>
34</client>
35
36############################################
37# Verify data after the test has been "shot"
38<verify>
39<errorcode>
400
41</errorcode>
42# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
43<protocol>
44USER anonymous
45PASS ftp@example.com
46PWD
47CWD fully_simulated
48CWD DOS
49EPSV
50TYPE A
51LIST
52EPSV
53TYPE I
54RETR chmod1
55EPSV
56RETR chmod2
57EPSV
58RETR chmod3
59EPSV
60RETR empty_file.dat
61EPSV
62RETR file.txt
63EPSV
64RETR someothertext.txt
65CWD /
66CWD fully_simulated
67CWD DOS
68EPSV
69TYPE A
70LIST
71EPSV
72TYPE I
73RETR chmod1
74EPSV
75RETR chmod2
76EPSV
77RETR chmod3
78EPSV
79RETR empty_file.dat
80EPSV
81RETR file.txt
82EPSV
83RETR someothertext.txt
84QUIT
85</protocol>
86<stdout>
87This file should have permissions 444
88This file should have permissions 666
89This file should have permissions 777
90This is content of file "file.txt"
91Some junk ;-) This file does not really exist.
92This file should have permissions 444
93This file should have permissions 666
94This file should have permissions 777
95This is content of file "file.txt"
96Some junk ;-) This file does not really exist.
97</stdout>
98</verify>
99</testcase>
100