'Declaration Public Sub ReceiveMultipleFiles( _ ByVal remoteFileMask As String, _ ByVal localFolder As String, _ ByVal recursive As Boolean, _ ByVal recreateFolderStructure As Boolean _ )
'Usage Dim instance As FtpClient Dim remoteFileMask As String Dim localFolder As String Dim recursive As Boolean Dim recreateFolderStructure As Boolean instance.ReceiveMultipleFiles(remoteFileMask, localFolder, recursive, recreateFolderStructure)
public void ReceiveMultipleFiles( string remoteFileMask, string localFolder, bool recursive, bool recreateFolderStructure )
Parameters
- remoteFileMask
- The file mask of the remote files to receive. This parameter can include a filtering mask to limit the files that are received. For example, if System.String.Empty is specified, the entire contents of the current working folder will be received. If "*.txt" is used, all the files in the current working folder that have the TXT extension will be received. Some FTP servers may be case-sensitive!
- localFolder
- The path and name of the local folder where the files will be stored.
- recursive
- true if the files in child folders should also be received; false otherwise.
- recreateFolderStructure
- true if the remote directory structure should be recreated on the local machine; false otherwise.