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

ExFTPConnectionUploadMultiple(String, String) Method

Put multiple files from the specified local directory into the current remote directory.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void UploadMultiple(
	string localDirectory,
	string wildcard
)

Parameters

localDirectory  String
local directory to get files from
wildcard  String
wildcard for specifying files (? for single characters and * for multiple characters)

Remarks

Wildcard expression use '?' to match any single character and '*' to match multiple characters. For example, "file*.txt" will match any file-name starting with "file" and having an extension ".txt".

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