Initializing help system before first use

facftexists

facftexists


Purpose
Check whether a remote folder or file exists.
Synopsis
function facftexists(remote_path:string):boolean
Argument
remote_path 
The path of the remote folder or file, e.g. "/MyFolder/MyFile.txt"
Return value
true if the file or folder exists on the remote server, false otherwise.
Example
if facftexists("/MyFolder/MySubFolder") then
  writeln("Already exists")
else
  writeln("Does not exist")
end-if

Further information
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.