Xceed .NET Libraries Documentation
UploadFile(Stream,String,Boolean,FileShare,Byte[],Int32,Int32) Method


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

Parameters

localStream
remotePath
overwrite
share
buffer
offset
count
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