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

FTPConnectionDownloadByteArray Method

Download data from the FTP server and return it as a byte-array.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual byte[] DownloadByteArray(
	string remoteFile
)

Parameters

remoteFile  String
Name of remote file in current working directory.

Return Value

Byte
Returns a byte-array containing the file-data.

Remarks

Transfers in the current TransferType. Note that we may experience memory limitations as the entire file must be held in memory at one time.

See Also