Initializing help system before first use

facftgetattributes

facftgetattributes


Purpose
Query meta-data about a remote file or folder.
Synopsis
function facftgetattributes(remote_path:string):facftfile
Argument
remote_path 
The path of the remote file or folder, e.g. "/MyFolder/MyFile.txt"
Example
f := facftgetattributes("/MyFolder/MyFile.txt")
writeln(f.file_name," has size ",f.file_size)

Further information
1. The returned size of the file may have been rounded.
2. The file permissions are given in standard Unix format, e.g. 0644 for owner-writable, group-readable, world-readable.
3. If the remote file or folder does not exist, the package will raise an IO error.
4. When used from a DMP component with preconfigured FAC File Transfer Service credentials, this function will automatically try to login to the FAC File Transfer Service if you are not already logged in.