Handling of Files
This page explains the Filesystem Adapter in Bridge context. If you were looking for the same information regarding the PAS Designer, refer to Filesystem Adapter in the Designer guide.
With the file system adapter, you can write, read, rename, remove files and retrieve status information about a file.
Find below a list of all file actions and their parameters.
Action | Mode | Incoming Parameters | Outgoing Parameters | ||
---|---|---|---|---|---|
Name | Type | Name | Type | ||
read | name | String | data | blob | |
position | Integer | length | Integer | ||
length | Integer | ||||
readLine | name | String | line | String | |
encoding | String | length | Integer | ||
write | name | String | |||
data | Blob | ||||
position | Integer | ||||
length | Integer | ||||
append | append | name | String | ||
data | Blob | ||||
length | Integer | ||||
status | name | String | size | Integer | |
type | String | ||||
creationTime | DateTime | ||||
modificationTime | DateTime | ||||
accessTime | DateTime | ||||
rename | name | String | |||
newName | String | ||||
source | String | ||||
target | String | ||||
remove | name | String | |||
close | name | String |
Click on an action to read a more detailed description. Each topic contains information on static file access.
For more information on how to access the file system dynamically refer to Dynamic File System Access.