facftupload
facftupload |
Purpose
Synopsis
procedure facftupload(remote_path:string, local_file:string)
Arguments
remote_path
|
The path of the remote file to upload to,
e.g.
"/MyFolder/MyFile.txt"
|
local_file
|
The filename of the local file to which to read the data to upload.
|
Example
facftupload("/MyFolder/MyFile.txt","MyFile.txt")
Further information
1. The local filename can reference an IO driver in the usual Mosel fashion,
e.g.
"mmsystem.text:MyFileContent"
2. If the remote file does not exist, it will be created so long as the parent remote folder exists.
3. If the remote file already exists, the previous content will be overwritten.
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.