FTP: fix copying file from server