ssh2-streams icon indicating copy to clipboard operation
ssh2-streams copied to clipboard

Bug in flagsToString()

Open AlexandraK opened this issue 4 years ago • 0 comments

When the SFTP client sends flag 2, the function will return null, which breaks any fs.open calls. Flag 2 I think that corresponds to APPEND.

Tested with Filezilla, by dragging a file to a folder on the server that contains the same file, then selecting "resume" in the Filezilla dialog.

AlexandraK avatar Aug 16 '20 11:08 AlexandraK