Crestron Simpl # and Simpl # Pro Help
Crestron Simpl # and Simpl # Pro Help
Crestron.SimplSharp.Ssh
SftpClient Class
SftpClient Methods
AppendAllLines Method
AppendAllText Method
AppendText Method
BeginDownloadFile Method
BeginListDirectory Method
BeginSynchronizeDirectories Method
BeginUploadFile Method
ChangeDirectory Method
ChangePermissions Method
Create Method
CreateDirectory Method
CreateText Method
Delete Method
DeleteDirectory Method
DeleteFile Method
Dispose Method
DownloadFile Method
EndDownloadFile Method
EndListDirectory Method
EndSynchronizeDirectories Method
EndUploadFile Method
Exists Method
Get Method
GetAttributes Method
GetLastAccessTime Method
GetLastAccessTimeUtc Method
GetLastWriteTime Method
GetLastWriteTimeUtc Method
GetStatus Method
ListDirectory Method
OnConnected Method
OnDisconnecting Method
Open Method
OpenRead Method
OpenText Method
OpenWrite Method
ReadAllBytes Method
ReadAllLines Method
ReadAllText Method
ReadLines Method
RenameFile Method
SetAttributes Method
SetLastWriteTime Method
SetLastWriteTimeUtc Method
SymbolicLink Method
SynchronizeDirectories Method
UploadFile Method
WriteAllBytes Method
WriteAllLines Method
WriteAllText Method
Sftp
Client
Set
Attributes Method
Sets the specified
SftpFileAttributes
of the file on the specified path.
Namespace:
Crestron.SimplSharp.Ssh
Assembly:
SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
Copy
public
void
SetAttributes
(
string
path
,
SftpFileAttributes
fileAttributes
)
Parameters
path
String
The path to the file.
fileAttributes
SftpFileAttributes
The desired
SftpFileAttributes
.
Exceptions
Exception
Condition
ArgumentNullException
path
is
null
.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also
Reference
SftpClient Class
Crestron.SimplSharp.Ssh Namespace