fix sftp file upload