Overview
Uploads the specified file to remote environment.any Files.Upload(id: string, options: FileTransferOptions)
Arguments
string id
Id number of file to upload
FileTransferOptions options
Instance of ,file transferring options,. //TODO 1'den fazla kelime linklebilirlik içermeli.
Example
Uploading file via FTP into a folder located on a remote servervar fileId = $Xml.Evaluate('File/FileId'); //Create File Transfer Option.. var fileTransferOptions = { RemoteHost: '192.168.1.28', RemotePath: 'testfolder' + '/' + 'testdoc.pdf', Username: 'myUsername', Password: 'myPassword', Protocol: 'FTP' }; //Uploading.. $Files.Upload(fileId,fileTransferOptions) ```` @see {@link FileTransferOptions}
Examples
Uploading file via FTP into a folder located on a remote servervar fileId = $Xml.Evaluate('File/FileId'); //Create File Transfer Option.. var fileTransferOptions = { RemoteHost: '192.168.1.28', RemotePath: 'testfolder' + '/' + 'testdoc.pdf', Username: 'myUsername', Password: 'myPassword', Protocol: 'FTP' }; //Uploading.. $Files.Upload(fileId,fileTransferOptions) ```` @see {@link FileTransferOptions}