ID: 5026 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: FTP related Operating System: Linux 2.2 PHP Version: 4.0 New Comment: This is an old bug and needs to be closed. Previous Comments: ------------------------------------------------------------------------ [2001-02-10 14:20:40] [EMAIL PROTECTED] refiled as bug against 4.0. ------------------------------------------------------------------------ [2000-06-14 11:40:27] [EMAIL PROTECTED] I am using the ftp_size command to connect to a NcFTPd server. NcFTPd does not support the size command in ascii mode. Information is at : http://www.ncftpd.com/ncftpd/doc/faq/func.html#size_ascii Is there any way that this could be changed to binary mode, ie insert about line 602 of function/ftp.c the following: if (!ftp_type(ftp, FTPTYPE_IMAGE)) return -1; Or for consistancy of the API have an optional mode parameter to this function. Thanks for the newly added ftp support and thank you for your assistance. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=5026&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]