Software components for data protection, secure storage and transfer
' buffer with data to be uploaded
Dim DataBuffer() as Byte
' SFTP file handle variable
Dim Handle() As Byte
' opening the remote file
Handle = cli.OpenFile("RemoteFile", SBSftpCommon.Unit.fmCreate Or SBSftpCommon.Unit.fmWrite Or SBSftpCommon.Unit.fmTruncate, Nothing)
' writing to the remote file
cli.Write(Handle, 0, DataBuffer)
' closing file handle once the upload has been finished
Messages 11 - 20 of 28
First | Prev. | 1 2 3 | Next | Last
Number of guests: 1, registered members: 0,
in total hidden: 0
Copyright (c) 2017, /n software, inc.
As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.