Uploads the content of the data stream to the specified offset of the file on the server.
Assembly: Rebex.Networking (in Rebex.Networking.dll)
Function PutFile ( _ sourceStream As , _ remotePath As , _ remoteOffset As , _ length As _ ) As
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.
If the remote file does not exist, it is created.