PHP 4.0 Bug #5026 Updated: ftp_size and transfer mode

From: Date: Sat, 10 Feb 2001 19:20:40 +0000
Subject: PHP 4.0 Bug #5026 Updated: ftp_size and transfer mode
Groups: php.dev 
Request: Send a blank email to php-dev+get-46247@lists.php.net to get a copy of this message
ID: 5026 Updated by: jimw Reported By: spt@dycon.com Status: Open Old-Bug Type: Feature/Change Request Bug Type: FTP related Assigned To: Comments: refiled as bug against 4.0. Previous Comments: --------------------------------------------------------------------------- [2000-06-14 11:40:27] spt@dycon.com 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=5026&edit=2

« previous php.dev (#46247) next »