PowerTCP SSH and SFTP for .NET
Put(String,Int64) Method




An absolute or relative (from the current working directory) path specifying the destination on the server. Use "/" as the directory delimiter.
The offset into the file from which the copy will start.
Initiates a file copy from the local client to the remote server.
Syntax
'Declaration
 
Public Overloads Function Put( _
   ByVal fileName As String, _
   ByVal offset As Long _
) As Stream
'Usage
 
Dim instance As Sftp
Dim fileName As String
Dim offset As Long
Dim value As Stream
 
value = instance.Put(fileName, offset)
public Stream Put( 
   string fileName,
   long offset
)
public: Stream* Put( 
   string* fileName,
   long offset
) 
public:
Stream^ Put( 
   String^ fileName,
   int64 offset
) 

Parameters

fileName
An absolute or relative (from the current working directory) path specifying the destination on the server. Use "/" as the directory delimiter.
offset
The offset into the file from which the copy will start.

Return Value

A Stream that should be written to and subsequently closed.
Remarks
This method and operations on the returned stream will not raise the Progress event.
See Also

Reference

Sftp Class
Sftp Members
Overload List


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic