Overview
any void Files.Upload(id: string, options: FileTransferOptions)
...
Code Block |
---|
|
var fileId = $Xml.Evaluate('File/FileId');
//Create File Transfer Option..
var fileTransferOptions = {
RemoteHostRemoteHost : '192.168.1.28',
RemotePathRemotePath : 'testfolder' + '/' + 'testdoc.pdf',
UsernameUsername : 'myUsername',
PasswordPassword : 'myPassword',
ProtocolProtocol : 'FTP'
};
//Uploading..
$Files.Upload(fileId, fileTransferOptions)
````
@see {@link FileTransferOptions} |
...
Code Block |
---|
|
var fileId = $Xml.Evaluate('File/FileId');
//Create File Transfer Option..
var fileTransferOptions = {
RemoteHostRemoteHost : '192.168.1.28',
RemotePathRemotePath : 'testfolder' + '/' + 'testdoc.pdf',
UsernameUsername : 'myUsername',
PasswordPassword : 'myPassword',
ProtocolProtocol : 'FTP'
};
//Uploading..
$Files.Upload(fileId, fileTransferOptions)
````
@see {@link FileTransferOptions} |