An NDoc Documented Class Library

ExFTPConnection.DownloadMultiple Method (String, String, String, Boolean)

Get multiple files from the specified remote directory into the specified local directory

public void DownloadMultiple(
   string localDirectory,
   string remoteDirectory,
   string wildcard,
   bool includeSubDirs
);

Parameters

localDirectory
local directory name
remoteDirectory
remote directory name
wildcard
wildcard for specifying files (? for single characters and * for multiple characters)
includeSubDirs
if true, subdirectories are put

Remarks

Optionally, all subdirectories can be transferred as well. Note that the wildcard is only applicable to files, not to subdirectories. Note that if the LocalDirectory property is set and localDirectory is a relative path, it will be combined with the LocalDirectory to find the target directory.

See Also

ExFTPConnection Class | EnterpriseDT.Net.Ftp Namespace | ExFTPConnection.DownloadMultiple Overload List