Click or drag to resize

FtpDownload Method (String, Int64, Stream)

Downloads the remote file to the data stream starting from the specified position. You can check the value of SupportsRestStream of Extensions property to check if this method is supported by the remote server.

Namespace:  Limilabs.FTP.Client
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public void Download(
	string remotePath,
	long remoteStartPosition,
	Stream destination
)

Parameters

remotePath
Type: SystemString
The path of the remote file.
remoteStartPosition
Type: SystemInt64
The starting offset of the remote file.
destination
Type: System.IOStream
The destination stream.
See Also