edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Download a file from the FTP server and save it locally.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public override void DownloadFile(
	string localPath,
	string remoteFile
)
Visual Basic
Public Overrides Sub DownloadFile ( _
	localPath As String, _
	remoteFile As String _
)
Visual C++
public:
virtual void DownloadFile(
	String^ localPath, 
	String^ remoteFile
) override

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].

See Also