can you add defined('FTP_BINARY') ? FTP_BINARY : false