An NDoc Documented Class Library

FTPClient.Get Method (Stream, String)

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

public virtual void Get(
   Stream destStream,
   string remoteFile
);

Parameters

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

Implements

IFileTransferClient.Get

Remarks

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

See Also

FTPClient Class | EnterpriseDT.Net.Ftp Namespace | FTPClient.Get Overload List