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