Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

any void Files.Upload(id: string, options: FileTransferOptions)

...

Code Block
languagejs
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
languagejs
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}