113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFTP
513498266Sopenharmony_ciwildcardmatch
613498266Sopenharmony_ciftplistparser
713498266Sopenharmony_ci</keywords>
813498266Sopenharmony_ci</info>
913498266Sopenharmony_ci
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<data>
1313498266Sopenharmony_ci</data>
1413498266Sopenharmony_ci</reply>
1513498266Sopenharmony_ci
1613498266Sopenharmony_ci# Client-side
1713498266Sopenharmony_ci<client>
1813498266Sopenharmony_ci<server>
1913498266Sopenharmony_ciftp
2013498266Sopenharmony_ci</server>
2113498266Sopenharmony_ci<tool>
2213498266Sopenharmony_cilib%TESTNUMBER
2313498266Sopenharmony_ci</tool>
2413498266Sopenharmony_ci<name>
2513498266Sopenharmony_ciFTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)
2613498266Sopenharmony_ci</name>
2713498266Sopenharmony_ci<command>
2813498266Sopenharmony_ciftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
2913498266Sopenharmony_ci</command>
3013498266Sopenharmony_ci</client>
3113498266Sopenharmony_ci
3213498266Sopenharmony_ci# Verify data after the test has been "shot"
3313498266Sopenharmony_ci<verify>
3413498266Sopenharmony_ci<errorcode>
3513498266Sopenharmony_ci0
3613498266Sopenharmony_ci</errorcode>
3713498266Sopenharmony_ci<stdout>
3813498266Sopenharmony_ci=============================================================
3913498266Sopenharmony_ciRemains:      14
4013498266Sopenharmony_ciFilename:     .
4113498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
4213498266Sopenharmony_ciSize:         20480B
4313498266Sopenharmony_ciUser:         ftp-default
4413498266Sopenharmony_ciGroup:        ftp-default
4513498266Sopenharmony_ciTime:         Apr 27  5:12
4613498266Sopenharmony_ciFiletype:     directory
4713498266Sopenharmony_ci=============================================================
4813498266Sopenharmony_ciRemains:      13
4913498266Sopenharmony_ciFilename:     ..
5013498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
5113498266Sopenharmony_ciSize:         20480B
5213498266Sopenharmony_ciUser:         ftp-default
5313498266Sopenharmony_ciGroup:        ftp-default
5413498266Sopenharmony_ciTime:         Apr 23  3:12
5513498266Sopenharmony_ciFiletype:     directory
5613498266Sopenharmony_ci=============================================================
5713498266Sopenharmony_ciRemains:      12
5813498266Sopenharmony_ciFilename:     chmod1
5913498266Sopenharmony_ciPermissions:  r--r--r-- (parsed => 444)
6013498266Sopenharmony_ciSize:         38B
6113498266Sopenharmony_ciUser:         ftp-default
6213498266Sopenharmony_ciGroup:        ftp-default
6313498266Sopenharmony_ciTime:         Jan 11 10:00
6413498266Sopenharmony_ciFiletype:     regular file
6513498266Sopenharmony_ciContent:
6613498266Sopenharmony_ci-------------------------------------------------------------
6713498266Sopenharmony_ciThis file should have permissions 444
6813498266Sopenharmony_ci-------------------------------------------------------------
6913498266Sopenharmony_ci=============================================================
7013498266Sopenharmony_ciRemains:      11
7113498266Sopenharmony_ciFilename:     chmod2
7213498266Sopenharmony_ciPermissions:  rw-rw-rw- (parsed => 666)
7313498266Sopenharmony_ciSize:         38B
7413498266Sopenharmony_ciUser:         ftp-default
7513498266Sopenharmony_ciGroup:        ftp-default
7613498266Sopenharmony_ciTime:         Feb  1  8:00
7713498266Sopenharmony_ciFiletype:     regular file
7813498266Sopenharmony_ciContent:
7913498266Sopenharmony_ci-------------------------------------------------------------
8013498266Sopenharmony_ciThis file should have permissions 666
8113498266Sopenharmony_ci-------------------------------------------------------------
8213498266Sopenharmony_ci=============================================================
8313498266Sopenharmony_ciRemains:      10
8413498266Sopenharmony_ciFilename:     chmod3
8513498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
8613498266Sopenharmony_ciSize:         38B
8713498266Sopenharmony_ciUser:         ftp-default
8813498266Sopenharmony_ciGroup:        ftp-default
8913498266Sopenharmony_ciTime:         Feb  1  8:00
9013498266Sopenharmony_ciFiletype:     regular file
9113498266Sopenharmony_ciContent:
9213498266Sopenharmony_ci-------------------------------------------------------------
9313498266Sopenharmony_ciThis file should have permissions 777
9413498266Sopenharmony_ci-------------------------------------------------------------
9513498266Sopenharmony_ci=============================================================
9613498266Sopenharmony_ciRemains:      9
9713498266Sopenharmony_ciFilename:     chmod4
9813498266Sopenharmony_ciPermissions:  --S--S--t (parsed => 7001)
9913498266Sopenharmony_ciSize:         4096B
10013498266Sopenharmony_ciUser:         ftp-default
10113498266Sopenharmony_ciGroup:        ftp-default
10213498266Sopenharmony_ciTime:         May  4  4:31
10313498266Sopenharmony_ciFiletype:     directory
10413498266Sopenharmony_ci=============================================================
10513498266Sopenharmony_ciRemains:      8
10613498266Sopenharmony_ciFilename:     chmod5
10713498266Sopenharmony_ciPermissions:  --s--s--T (parsed => 7110)
10813498266Sopenharmony_ciSize:         4096B
10913498266Sopenharmony_ciUser:         ftp-default
11013498266Sopenharmony_ciGroup:        ftp-default
11113498266Sopenharmony_ciTime:         May  4  4:31
11213498266Sopenharmony_ciFiletype:     directory
11313498266Sopenharmony_ci=============================================================
11413498266Sopenharmony_ciRemains:      7
11513498266Sopenharmony_ciFilename:     empty_file.dat
11613498266Sopenharmony_ciPermissions:  rw-r--r-- (parsed => 644)
11713498266Sopenharmony_ciSize:         0B
11813498266Sopenharmony_ciUser:         ftp-default
11913498266Sopenharmony_ciGroup:        ftp-default
12013498266Sopenharmony_ciTime:         Apr 27 11:01
12113498266Sopenharmony_ciFiletype:     regular file
12213498266Sopenharmony_ciContent:
12313498266Sopenharmony_ci-------------------------------------------------------------
12413498266Sopenharmony_ci-------------------------------------------------------------
12513498266Sopenharmony_ci=============================================================
12613498266Sopenharmony_ciRemains:      6
12713498266Sopenharmony_ciFilename:     file.txt
12813498266Sopenharmony_ciPermissions:  rw-r--r-- (parsed => 644)
12913498266Sopenharmony_ciSize:         35B
13013498266Sopenharmony_ciUser:         ftp-default
13113498266Sopenharmony_ciGroup:        ftp-default
13213498266Sopenharmony_ciTime:         Apr 27 11:01
13313498266Sopenharmony_ciFiletype:     regular file
13413498266Sopenharmony_ciContent:
13513498266Sopenharmony_ci-------------------------------------------------------------
13613498266Sopenharmony_ciThis is content of file "file.txt"
13713498266Sopenharmony_ci-------------------------------------------------------------
13813498266Sopenharmony_ci=============================================================
13913498266Sopenharmony_ciRemains:      5
14013498266Sopenharmony_ciFilename:     link
14113498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
14213498266Sopenharmony_ciSize:         0B
14313498266Sopenharmony_ciUser:         ftp-default
14413498266Sopenharmony_ciGroup:        ftp-default
14513498266Sopenharmony_ciTime:         Jan  6  4:42
14613498266Sopenharmony_ciFiletype:     symlink
14713498266Sopenharmony_ciTarget:       file.txt
14813498266Sopenharmony_ci=============================================================
14913498266Sopenharmony_ciRemains:      4
15013498266Sopenharmony_ciFilename:     link_absolute
15113498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
15213498266Sopenharmony_ciSize:         0B
15313498266Sopenharmony_ciUser:         ftp-default
15413498266Sopenharmony_ciGroup:        ftp-default
15513498266Sopenharmony_ciTime:         Jan  6  4:45
15613498266Sopenharmony_ciFiletype:     symlink
15713498266Sopenharmony_ciTarget:       /data/ftp/file.txt
15813498266Sopenharmony_ci=============================================================
15913498266Sopenharmony_ciRemains:      3
16013498266Sopenharmony_ciFilename:     .NeXT
16113498266Sopenharmony_ciPermissions:  rwxrwxrwx (parsed => 777)
16213498266Sopenharmony_ciSize:         4096B
16313498266Sopenharmony_ciUser:         ftp-default
16413498266Sopenharmony_ciGroup:        ftp-default
16513498266Sopenharmony_ciTime:         Jan 23  2:05
16613498266Sopenharmony_ciFiletype:     directory
16713498266Sopenharmony_ci=============================================================
16813498266Sopenharmony_ciRemains:      2
16913498266Sopenharmony_ciFilename:     someothertext.txt
17013498266Sopenharmony_ciPermissions:  rw-r--r-- (parsed => 644)
17113498266Sopenharmony_ciSize:         47B
17213498266Sopenharmony_ciUser:         ftp-default
17313498266Sopenharmony_ciGroup:        ftp-default
17413498266Sopenharmony_ciTime:         Apr 27 11:01
17513498266Sopenharmony_ciFiletype:     regular file
17613498266Sopenharmony_ciContent:
17713498266Sopenharmony_ci-------------------------------------------------------------
17813498266Sopenharmony_ci# THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK #
17913498266Sopenharmony_ci-------------------------------------------------------------
18013498266Sopenharmony_ci=============================================================
18113498266Sopenharmony_ciRemains:      1
18213498266Sopenharmony_ciFilename:     weirddir.txt
18313498266Sopenharmony_ciPermissions:  rwxr-xrwx (parsed => 757)
18413498266Sopenharmony_ciSize:         4096B
18513498266Sopenharmony_ciUser:         ftp-default
18613498266Sopenharmony_ciGroup:        ftp-default
18713498266Sopenharmony_ciTime:         Apr 23  3:12
18813498266Sopenharmony_ciFiletype:     directory
18913498266Sopenharmony_ci=============================================================
19013498266Sopenharmony_ci</stdout>
19113498266Sopenharmony_ci</verify>
19213498266Sopenharmony_ci</testcase>
193