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