initialize the right buffer in sftpPut