xref: /aosp_15_r20/external/curl/tests/data/test1113 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerFTP
5*6236dae4SAndroid Build Coastguard WorkerRETR
6*6236dae4SAndroid Build Coastguard WorkerLIST
7*6236dae4SAndroid Build Coastguard Workerwildcardmatch
8*6236dae4SAndroid Build Coastguard Workerftplistparser
9*6236dae4SAndroid Build Coastguard Workerflaky
10*6236dae4SAndroid Build Coastguard Worker</keywords>
11*6236dae4SAndroid Build Coastguard Worker</info>
12*6236dae4SAndroid Build Coastguard Worker
13*6236dae4SAndroid Build Coastguard Worker#
14*6236dae4SAndroid Build Coastguard Worker# Server-side
15*6236dae4SAndroid Build Coastguard Worker<reply>
16*6236dae4SAndroid Build Coastguard Worker<data>
17*6236dae4SAndroid Build Coastguard Worker</data>
18*6236dae4SAndroid Build Coastguard Worker</reply>
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker# Client-side
21*6236dae4SAndroid Build Coastguard Worker<client>
22*6236dae4SAndroid Build Coastguard Worker<server>
23*6236dae4SAndroid Build Coastguard Workerftp
24*6236dae4SAndroid Build Coastguard Worker</server>
25*6236dae4SAndroid Build Coastguard Worker<tool>
26*6236dae4SAndroid Build Coastguard Workerlib574
27*6236dae4SAndroid Build Coastguard Worker</tool>
28*6236dae4SAndroid Build Coastguard Worker<name>
29*6236dae4SAndroid Build Coastguard WorkerFTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
30*6236dae4SAndroid Build Coastguard Worker</name>
31*6236dae4SAndroid Build Coastguard Worker<command>
32*6236dae4SAndroid Build Coastguard Worker"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
33*6236dae4SAndroid Build Coastguard Worker</command>
34*6236dae4SAndroid Build Coastguard Worker</client>
35*6236dae4SAndroid Build Coastguard Worker
36*6236dae4SAndroid Build Coastguard Worker############################################
37*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
38*6236dae4SAndroid Build Coastguard Worker<verify>
39*6236dae4SAndroid Build Coastguard Worker<strip>
40*6236dae4SAndroid Build Coastguard WorkerQUIT
41*6236dae4SAndroid Build Coastguard Worker</strip>
42*6236dae4SAndroid Build Coastguard Worker<errorcode>
43*6236dae4SAndroid Build Coastguard Worker0
44*6236dae4SAndroid Build Coastguard Worker</errorcode>
45*6236dae4SAndroid Build Coastguard Worker# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
46*6236dae4SAndroid Build Coastguard Worker<protocol>
47*6236dae4SAndroid Build Coastguard WorkerUSER anonymous
48*6236dae4SAndroid Build Coastguard WorkerPASS [email protected]
49*6236dae4SAndroid Build Coastguard WorkerPWD
50*6236dae4SAndroid Build Coastguard WorkerCWD fully_simulated
51*6236dae4SAndroid Build Coastguard WorkerCWD DOS
52*6236dae4SAndroid Build Coastguard WorkerEPSV
53*6236dae4SAndroid Build Coastguard WorkerTYPE A
54*6236dae4SAndroid Build Coastguard WorkerLIST
55*6236dae4SAndroid Build Coastguard WorkerEPSV
56*6236dae4SAndroid Build Coastguard WorkerTYPE I
57*6236dae4SAndroid Build Coastguard WorkerRETR chmod1
58*6236dae4SAndroid Build Coastguard WorkerEPSV
59*6236dae4SAndroid Build Coastguard WorkerRETR chmod2
60*6236dae4SAndroid Build Coastguard WorkerEPSV
61*6236dae4SAndroid Build Coastguard WorkerRETR chmod3
62*6236dae4SAndroid Build Coastguard WorkerEPSV
63*6236dae4SAndroid Build Coastguard WorkerRETR empty_file.dat
64*6236dae4SAndroid Build Coastguard WorkerEPSV
65*6236dae4SAndroid Build Coastguard WorkerRETR file.txt
66*6236dae4SAndroid Build Coastguard WorkerEPSV
67*6236dae4SAndroid Build Coastguard WorkerRETR someothertext.txt
68*6236dae4SAndroid Build Coastguard WorkerCWD /
69*6236dae4SAndroid Build Coastguard WorkerCWD fully_simulated
70*6236dae4SAndroid Build Coastguard WorkerCWD DOS
71*6236dae4SAndroid Build Coastguard WorkerEPSV
72*6236dae4SAndroid Build Coastguard WorkerTYPE A
73*6236dae4SAndroid Build Coastguard WorkerLIST
74*6236dae4SAndroid Build Coastguard WorkerEPSV
75*6236dae4SAndroid Build Coastguard WorkerTYPE I
76*6236dae4SAndroid Build Coastguard WorkerRETR chmod1
77*6236dae4SAndroid Build Coastguard WorkerEPSV
78*6236dae4SAndroid Build Coastguard WorkerRETR chmod2
79*6236dae4SAndroid Build Coastguard WorkerEPSV
80*6236dae4SAndroid Build Coastguard WorkerRETR chmod3
81*6236dae4SAndroid Build Coastguard WorkerEPSV
82*6236dae4SAndroid Build Coastguard WorkerRETR empty_file.dat
83*6236dae4SAndroid Build Coastguard WorkerEPSV
84*6236dae4SAndroid Build Coastguard WorkerRETR file.txt
85*6236dae4SAndroid Build Coastguard WorkerEPSV
86*6236dae4SAndroid Build Coastguard WorkerRETR someothertext.txt
87*6236dae4SAndroid Build Coastguard WorkerQUIT
88*6236dae4SAndroid Build Coastguard Worker</protocol>
89*6236dae4SAndroid Build Coastguard Worker<stdout>
90*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 444
91*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 666
92*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 777
93*6236dae4SAndroid Build Coastguard WorkerThis is content of file "file.txt"
94*6236dae4SAndroid Build Coastguard WorkerSome junk ;-) This file does not really exist.
95*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 444
96*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 666
97*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 777
98*6236dae4SAndroid Build Coastguard WorkerThis is content of file "file.txt"
99*6236dae4SAndroid Build Coastguard WorkerSome junk ;-) This file does not really exist.
100*6236dae4SAndroid Build Coastguard Worker</stdout>
101*6236dae4SAndroid Build Coastguard Worker</verify>
102*6236dae4SAndroid Build Coastguard Worker</testcase>
103