An NDoc Documented Class Library

AbstractRecursiveOperations.Put Method (String, String, String, Boolean, Boolean)

Puts this entire directory and its contents.

public void Put(
   string localDir,
   string remoteDir,
   string wildcard,
   bool detectTransferMode,
   bool recurse
);

Parameters

localDir
name of local directory
remoteDir
name of remote directory
wildcard
wildcard for specifying files (? for single characters and * for multiple characters)
detectTransferMode
true if transfer mode is to be auto-detected
recurse
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

AbstractRecursiveOperations Class | EnterpriseDT.Net.Ftp Namespace | AbstractRecursiveOperations.Put Overload List