edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPClientGet(Stream, String) Method

Get data from the FTP server, using the currently set transfer mode.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void Get(
	Stream destStream,
	string remoteFile
)

Parameters

destStream  Stream
Data stream to write data to.
remoteFile  String
Name of remote file in current directory.

Implements

IFileTransferClientGet(Stream, String)

Remarks

The stream is closed after the transfer is complete if CloseStreamsAfterTransfer is true (the default) and are left open otherwise.

See Also