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

AbstractRecursiveOperationsPut(String, String, String, Boolean, Boolean) Method

Puts this entire directory and its contents.

Definition

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

Parameters

localDir  String
name of local directory
remoteDir  String
name of remote directory
wildcard  String
wildcard for specifying files (? for single characters and * for multiple characters)
detectTransferMode  Boolean
true if transfer mode is to be auto-detected
recurse  Boolean
if true, recurse through subdirectories

Remarks

If recurse is true, it recursively goes through the local directory supplied (which can be relative or absolute. Puts the directory into the current remote directory, into a directory with the supplied remoteDir name. Only files matching the filter are fetched. On Windows clients, case is ignored.

See Also