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


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

Parameters

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