note 22925 added to function.ftp-fget
| From: | olivier_amos at yahoo dot fr | Date: | Thu, 04 Jul 2002 11:33:07 +0000 |
| Subject: | note 22925 added to function.ftp-fget | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32579@lists.php.net to get a copy of this message | ||
There is a bug with the FTP_ASCII format.
FTP_ASCII seems to be ignored because files downloaded with ftp_fget($stream, $fp, $v, FTP_ASCII)
are in binary format (FTP_BINARY) instead of ascii format.
You can verify it with Windows Notepad editor: in binary format, texts files show
"squares" instead of "end lines".
Does somebody know a solution to force FTP get in ASCII mode?
thanks a lot!
olivier
--
http://www.php.net/manual/en/function.ftp-fget.php
http://master.php.net/manage/user-notes.php?action=edit+22925
http://master.php.net/manage/user-notes.php?action=delete+22925
http://master.php.net/manage/user-notes.php?action=reject+22925