edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionDownloadFile Method (String, String, WriteMode)

Download a file from the FTP server and save it locally.

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public virtual void DownloadFile(
	string localPath,
	string remoteFile,
	WriteMode writeMode
)

Parameters

localPath
Type: SystemString
Local file to put data in.
remoteFile
Type: SystemString
Name of remote file in current working directory.
writeMode
Type: EnterpriseDT.Net.FtpWriteMode
Overwrite, Append or Resume.
Remarks
Transfers in the current TransferType.
See Also