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