From: Antony Dovgal Date: Fri, 24 Nov 2006 12:40:39 +0000 (+0000) Subject: MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) X-Git-Tag: php-4.4.5RC1~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7a27febc5edff128cd350023f34bf5c510055ca;p=php MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII) --- diff --git a/NEWS b/NEWS index 6d8dc31d66..470e3c66e8 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ PHP 4 NEWS ?? ??? 2006, Version 4.4.5 - Updated PCRE to version 6.7. (Ilia) - Fixed missing open_basedir check inside chdir() function. (Ilia) +- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony) - Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0). (Ilia) - Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index fe252859c6..8088f35bb5 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -39,7 +39,7 @@ #define FTP_BUFSIZE 4096 typedef enum ftptype { - FTPTYPE_ASCII, + FTPTYPE_ASCII=1, FTPTYPE_IMAGE } ftptype_t;