ComponentPro UltimateFtp

      SetMultipleFilesPermissionsAsync(String, FtpFilePermissions, Boolean, SearchCondition) Method

      See AlsoMembers Options: Show AllLanguage Filter: AllSend comments on this topic to ComponentPro
      Initiates an asynchronous operation to set the permissions of the specified remote files. Not all FTP servers support this!

      Syntax

      public ExtendedAsyncResult<FileSystemTransferStatistics> SetMultipleFilesPermissionsAsync(
         string remotePath, 
         FtpFilePermissions permissions, 
         bool recursive, 
         SearchCondition searchCondition
      )

      Parameters

      remotePath
      The path of the remote directory.
      permissions
      The file permissions.
      recursive
      Set permissions of files in the specified directory and all subdirectories.
      searchCondition
      The search conditions to match against the files, or a null reference to search for all files.

      Remarks

      Represents SITE CHMOD command.

      Framework

      .NET Compact Framework.NET Compact Framework

      Supported version: 2.0, 3.5, and 3.9
      Assembly: ComponentPro.Ftp.CF (in ComponentPro.Ftp.CF.dll)

      .NET Framework.NET Framework

      Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
      Assembly: ComponentPro.Ftp (in ComponentPro.Ftp.dll)

      See Also