note 22925 deleted from function.ftp-fget by sniper
| From: | sniper@php.net | Date: | Thu, 04 Jul 2002 13:59:34 +0000 |
| Subject: | note 22925 deleted from function.ftp-fget by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-32589@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