Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SFtpClient Class / UploadFile Method / UploadFile(Stream,String,Boolean,Int32) Method


In This Topic
    UploadFile(Stream,String,Boolean,Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Function UploadFile( _
       ByVal localStream As Stream, _
       ByVal remotePath As String, _
       ByVal overwrite As Boolean, _
       ByVal bufferSize As Integer _
    ) As Long
    'Usage
     
    Dim instance As SFtpClient
    Dim localStream As Stream
    Dim remotePath As String
    Dim overwrite As Boolean
    Dim bufferSize As Integer
    Dim value As Long
     
    value = instance.UploadFile(localStream, remotePath, overwrite, bufferSize)
    public long UploadFile( 
       Stream localStream,
       string remotePath,
       bool overwrite,
       int bufferSize
    )

    Parameters

    localStream
    remotePath
    overwrite
    bufferSize
    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