Skip to content

SftpFileStream throws SftpPathNotFoundException in FileMode Append if file does not exist #266

@drieseng

Description

@drieseng

When SftpFileStream is used to open a non-existing file with FileMode.Append (and FileAccess.Write), we currently do not pass the SSH_FXF_CREAT flag.

Instead of creating a (zero-length) file, a SftpPathNotFoundException is thrown.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions