Download data from the FTP server and return it as a byte-array.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
| C# |
|---|
public virtual byte[] DownloadByteArray( string remoteFile ) |
| Visual Basic |
|---|
Public Overridable Function DownloadByteArray ( _ remoteFile As String _ ) As Byte() |
| Visual C++ |
|---|
public: virtual array<unsigned char>^ DownloadByteArray( String^ remoteFile ) |
Parameters
- remoteFile
- Type: System..::..String
Name of remote file in current working directory.
Return Value
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.