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

ExFTPConnectionDownloadMultiple(String, String, String, Boolean) Method

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

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public void DownloadMultiple(
	string localDirectory,
	string remoteDirectory,
	string wildcard,
	bool includeSubDirs
)

Parameters

localDirectory  String
local directory name
remoteDirectory  String
remote directory name
wildcard  String
wildcard for specifying files (? for single characters and * for multiple characters)
includeSubDirs  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