facftlist
facftlist |
Purpose
Synopsis
function facftlist(remote_path:string):list of facftfile
Argument
remote_path
|
The path of the remote folder,
e.g.
"/MyFolder/MySubFolder"
|
Return value
List containing meta-data for folders and files in the given folder, ordered alphabetically.
Example
declarations files: list of facftfile end-declarations files := facftlist("/MyFolder/MySubFolder") forall (f in files) do writeln(f.file_name) done
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. The relative subfolder paths
"." and
".." are not included in the returned list.
4. This function returns the direct children of
remote_path only; it is not recursive.
5. If the remote folder does not exist, this function will generate an IO error.
6. 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.