Rescue ftp errors when transfering files.