BUGFIX: Sftp and ftp transfer methods, correctly save file to server