Xceed .NET Libraries Documentation
UploadFile(Stream,String,Boolean,FileShare) Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpClient Class > UploadFile Method : UploadFile(Stream,String,Boolean,FileShare) Method
Syntax
'Declaration
 
Public Overloads Function UploadFile( _
   ByVal localStream As Stream, _
   ByVal remotePath As String, _
   ByVal overwrite As Boolean, _
   ByVal share As FileShare _
) As Long
'Usage
 
Dim instance As SFtpClient
Dim localStream As Stream
Dim remotePath As String
Dim overwrite As Boolean
Dim share As FileShare
Dim value As Long
 
value = instance.UploadFile(localStream, remotePath, overwrite, share)
public long UploadFile( 
   Stream localStream,
   string remotePath,
   bool overwrite,
   FileShare share
)

Parameters

localStream
remotePath
overwrite
share
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFtpClient Class
SFtpClient Members
Overload List