Uploads the content of the data stream to the specified offset of the file on the SFTP server.
Assembly: Rebex.Sftp (in Rebex.Sftp.dll)
Public Function PutFile ( _ sourceStream As , _ remotePath As , _ remoteOffset As , _ length As _ ) As
public PutFile( sourceStream, remotePath, remoteOffset, length )
The source data stream.
The path of the remote file. This cannot be a directory.
The starting offset of the remote file.
Number of bytes to transfer or -1 to transfer all data until an end is reached.
Return ValueNumber of bytes transferred.
ImplementsIFtp..::..PutFile(Stream, String, Int64, Int64)
If the remote file does not exist, it is created.