File.GetProperty

Navigation:  Libraries > CT File Access > Function Blocks - File Services >

File.GetProperty

Previous pageReturn to chapter overviewNext page

This function provides information on target-specific settings and functionalities, which concern the file- or directory system or the implementation of optional function blocks.

Input:

wProperty

 

WORD

Number of the property, see table below

 

Output:

dwProperty

 

DWORD

Return value describes the property, see table below

 

Properties:

Number

Constant name

Meaning

Return Value


Function block support



1

FILE.gc_PDIRRENAME

Support of function block FILE.DirRename

0: No

1: Yes

2

FILE.gc_PRENAME

Support of function block

FILE.Rename

0: No

1: Yes

3

FILE.gc_PCOPY

Support of function block

FILE.Copy

0: No

1: Yes

4

FILE.gc_PSETATTRIBUTE

Support of function block FILE.SetAttribute

0: No

1: Yes


Restrictions on directories and files



100

FILE.gc_PFILENAME83

Restriction of the directory and file name format

to 8.3 format

0: No

1: Yes

101

FILE.gc_PCAPITALLETTERS

Restriction on capital letters for directory and file names

0: No

1: Yes


Path specification



200

FILE.gc_PABSOLUTEPATH

Restriction on absolute path specification

0: No

1: Yes

201

FILE.gc_PDRIVELETTER

Support of drive letters

0: No

1: Yes

210

FILE.gc_PRESOLVER

Support of Resolver Syntax for file names

0: No

1: Yes

211

FILE.gc_PFTPRESOLVER

Support of FTP-Client functions

0: No

1: Yes

212

FILE.gc_PHTTPRESOLVER

Support of http-Client functions

0: No

1: Yes


Network



300

FILE. gc_PNETWORKDRIVES

Support of network drives

0: No

1: Yes