Uploads the specified part of the local file to the specified offset of the file on the server.
Assembly: Rebex.Networking (in Rebex.Networking.dll)
Function PutFile ( _ localPath As , _ remotePath As , _ localOffset As , _ remoteOffset As , _ length As _ ) As
PutFile( localPath, remotePath, localOffset, remoteOffset, length )
The path of the local file.
The path of the remote file. This cannot be a directory.
The starting offset in the local file.
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.