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

AbstractRecursiveOperationsGet(String, String, String, Boolean, Boolean) Method

Gets this entire remote directory and its contents, recursively (if recurse is set to true) going through the remote directory name supplied.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void Get(
	string localDir,
	string remoteDir,
	string wildcard,
	bool detectTransferMode,
	bool recurse
)

Parameters

localDir  String
name of local directory to get files into
remoteDir  String
name of remote directory to get files from
wildcard  String
wildcard for specifying files (? for single characters and * for multiple characters)
detectTransferMode  Boolean
true if transfer mode is to be auto-detected from
recurse  Boolean
determines whether or not files subdirectories should be downloaded

Remarks

Gets the directory into the current local directory, into a directory with supplied localDir name

See Also