SftpClientOpen(String, FileMode) Method |
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic SftpFileStream Open(
string path,
FileMode mode
)
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.
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