#19036 [Opn->Csd]: ftp_get() always in BINARY mode ?
| From: | sniper@php.net | Date: | Thu, 22 Aug 2002 10:16:09 +0000 |
| Subject: | #19036 [Opn->Csd]: ftp_get() always in BINARY mode ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17514@lists.php.net to get a copy of this message | ||
ID: 19036
Updated by: sniper@php.net
Reported By: kioob@wanadoo.fr
-Status: Open
+Status: Closed
Bug Type: FTP related
Operating System: Win2k pro
PHP Version: 4.2.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-08-22 05:37:00] kioob@wanadoo.fr
Like an old bug on sockets(), it seems that ftp_get() always run in
BINARY mode under Win2k.
Therefore I correctly use the syntaxe :
ftp_get($stream,$dest,$source,FTP_ASCII);
Good luck ! ;o)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19036&edit=1