Re: SFTP PutFile using a stream does not set file permissions
                Come on, most use cases use the default permissions.
                
            
        Session.PutFile.
                
            session.PutFile(inputStream,remoteFile,options: new TransferOptions { FilePermissions = new FilePermissions { Octal = "666" }});
PutFiles command with a local file works correctly.