Sets the specified SftpFileAttributes of the file on the specified path.
Namespace: Renci.SshNetAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
public void SetAttributes( string path, SftpFileAttributes fileAttributes )
Parameters
- path
- Type:
System String
The path to the file.
- fileAttributes
- Type: Renci.SshNet.Sftp SftpFileAttributes
The desired SftpFileAttributes.
Exceptions
| Exception | Condition |
|---|---|
| path is null. |
See Also