FileInformation¶
Purpose¶
The module FileInformation provides access to a lot of information about a physical file on disk such as type (file or directory), size (in bytes), creation date, file permissions, etc.
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Path¶
- name: path, type: String¶
Sets and shows the path of the file.
Update¶
- name: update, type: Trigger¶
When pressed, the file information is updated.
Directory¶
- name: dirname, type: String, deprecated name: dirName¶
Sets and shows the directory name.
Filename¶
- name: filename, type: String, deprecated name: fileBaseName¶
Sets and shows the filename.
Basename¶
- name: basename, type: String, deprecated name: baseName¶
Sets and shows the base name of the file.
File Extension¶
- name: extension, type: String¶
Sets and shows the file ending.
Type¶
- name: type, type: String, persistent: no¶
Shows the type of the file.
Size (bytes)¶
- name: size, type: Integer, persistent: no¶
Shows the size of the file in bytes.
Created¶
- name: createDate, type: String, persistent: no¶
Shows the creation date of the file.
Exists¶
- name: exists, type: Bool, persistent: no¶
Shows whether the file exists.
Is Directory¶
- name: isDirectory, type: Bool, persistent: no¶
Shows whether the file is a directory.
Is Readable¶
- name: isReadable, type: Bool, persistent: no¶
Shows whether the file is readable.
Is Writable¶
- name: isWritable, type: Bool, persistent: no¶
Shows whether the file is writable.
Create Dir¶
- name: createDir, type: Trigger¶
When pressed, the specified directory is created.