Skip to content

Remove

Removes a file from a remote environment.

1
myDocumentFiles.Remove(options: FileTransferOptions):boolean

Parameters

FileTransferOptions options
    An instance of FileTransferOptions specifying the remote file.

Returns

true if the file was removed; otherwise, false.

Examples

Remove a processed file from the server

1
2
3
4
5
6
$Files.Remove({
    RemoteHost : 'ftp.example.com',
    RemotePath : 'outgoing/orders.csv',
    UserName : 'transfer',
    Password : 'secret'
});

See Also