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

ExFTPConnectionDownloadDirectory Method

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

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

Parameters

localDirectory
Type: SystemString
Local directory
remoteDirectory
Type: SystemString
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