improving sftp_compatibility, ftp and sftp upload and download should be working