edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Get multiple files from the specified remote directory into the specified local directory

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

Syntax

C#
public void DownloadMultiple(
	string localDirectory,
	string remoteDirectory,
	FileFilter filter,
	bool includeSubDirs
)
Visual Basic
Public Sub DownloadMultiple ( _
	localDirectory As String, _
	remoteDirectory As String, _
	filter As FileFilter, _
	includeSubDirs As Boolean _
)
Visual C++
public:
void DownloadMultiple(
	String^ localDirectory, 
	String^ remoteDirectory, 
	FileFilter^ filter, 
	bool includeSubDirs
)

Parameters

localDirectory
Type: System..::..String
local directory name
remoteDirectory
Type: System..::..String
remote directory name
filter
Type: EnterpriseDT.Net.Ftp..::..FileFilter
FileFilter to use for determining which files should be included.
includeSubDirs
Type: System..::..Boolean
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