ssh2-streams
ssh2-streams copied to clipboard
Bug in flagsToString()
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.