Xceed .NET Libraries Documentation
DownloadFile(String,Stream,Int32) Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpClient Class > DownloadFile Method : DownloadFile(String,Stream,Int32) Method
Syntax
'Declaration
 
Public Overloads Function DownloadFile( _

   ByVal remotePath As String, _

   ByVal localStream As Stream, _

   ByVal bufferSize As Integer _

) As Long
'Usage
 
Dim instance As SFtpClient

Dim remotePath As String

Dim localStream As Stream

Dim bufferSize As Integer

Dim value As Long

 

value = instance.DownloadFile(remotePath, localStream, bufferSize)
public long DownloadFile( 

   string remotePath,

   Stream localStream,

   int bufferSize

)

Parameters

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

Reference

SFtpClient Class
SFtpClient Members
Overload List