SftpClientOpen(String, FileMode, FileAccess) Method |
Opens a
SftpFileStream on the specified path, with the specified mode and access.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic SftpFileStream Open(
string path,
FileMode mode,
FileAccess access
)
Parameters
- path String
- The file to open.
- mode FileMode
- A FileMode value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.
- access FileAccess
- A FileAccess value that specifies the operations that can be performed on the file.
Return Value
SftpFileStreamAn unshared
SftpFileStream that provides access to the specified file, with the specified mode and access.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also