Put multiple files from the specified local directory into the specified remote directory.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public virtual void UploadMultiple( string localDirectory, string remoteDirectory, string wildcard, bool includeSubDirs ) |
Visual Basic |
---|
Public Overridable Sub UploadMultiple ( _ localDirectory As String, _ remoteDirectory As String, _ wildcard As String, _ includeSubDirs As Boolean _ ) |
Visual C++ |
---|
public: virtual void UploadMultiple( String^ localDirectory, String^ remoteDirectory, String^ wildcard, bool includeSubDirs ) |
Parameters
- localDirectory
- Type: System..::..String
local directory name
- remoteDirectory
- Type: System..::..String
remote directory name
- wildcard
- Type: System..::..String
wildcard for specifying files (? for single characters and * for multiple characters)
- 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.
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.