Skip to content

SftpFileStream allow invalid combinations of FileMode and FileAccess #191

@drieseng

Description

@drieseng

SftpFileStream currently allows for invalid combinations of FileMode and FileAccess.
For example, FileMode.Append and FileAccess.Read.
We should instead throw an ArgumentException for such combinations.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions