edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Puts this entire directory and its contents.

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

Syntax

C#
public void Put(
	string localDir,
	string remoteDir,
	FileFilter filter,
	bool detectTransferMode
)
Visual Basic
Public Sub Put ( _
	localDir As String, _
	remoteDir As String, _
	filter As FileFilter, _
	detectTransferMode As Boolean _
)
Visual C++
public:
void Put(
	String^ localDir, 
	String^ remoteDir, 
	FileFilter^ filter, 
	bool detectTransferMode
)

Parameters

localDir
Type: System..::..String
name of local directory
remoteDir
Type: System..::..String
name of remote directory
filter
Type: EnterpriseDT.Net.Ftp..::..FileFilter
FileFilter to use for determining which files should be included.
detectTransferMode
Type: System..::..Boolean
true if transfer mode is to be auto-detected

Remarks

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