Download a file from the FTP server and save it locally.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
| C# |
|---|
public virtual void DownloadFile( string localPath, string remoteFile ) |
| Visual Basic |
|---|
Public Overridable Sub DownloadFile ( _ localPath As String, _ remoteFile As String _ ) |
| Visual C++ |
|---|
public: virtual void DownloadFile( String^ localPath, String^ remoteFile ) |
Parameters
- localPath
- Type: System..::..String
Local file to put data in.
- remoteFile
- Type: System..::..String
Name of remote file in current working directory.
Remarks
Transfers in the current TransferType.