edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

ExFTPConnectionDownloadDirectory Method

Downloads the remote directory (and its subdirectories) to the local directory.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void DownloadDirectory(
	string localDirectory,
	string remoteDirectory
)

Parameters

localDirectory  String
Local directory
remoteDirectory  String
Remote directory (will be created if it doesn't already exist)

Remarks

The local directory will be created if it doesn't already exist.

DownloadMultiple(String, String, FileFilter, Boolean) should be used if more control over which files are transferred is required.

See Also