Req #33426 [Opn->Csd]: Allow ftp_size to read 2GB+ files

From: Date: Tue, 18 Feb 2020 08:25:09 +0000
Subject: Req #33426 [Opn->Csd]: Allow ftp_size to read 2GB+ files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225608@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=33426&edit=1 ID: 33426 Updated by: cmb@php.net Reported by: adams at techweavers dot net Summary: Allow ftp_size to read 2GB+ files -Status: Open +Status: Closed Type: Feature/Change Request Package: FTP related Operating System: * PHP Version: * -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: As of PHP 7.0.0, ftp_alloc() and supposedly the whole ftp extension works with 64bit integers on 64bit systems. On 32bit systems, integers are still 32bit, but that won't change. Previous Comments: ------------------------------------------------------------------------ [2005-06-22 00:35:43] adams at techweavers dot net Description: ------------ I am trying to get files larger then 2.1 GBytes and unfortunately it is returning interger values. If you could look into this in the next version of PHP 5.0.5 or etc... I would really like to see this added and so does at least 3 other php users. Like it was said before it seems this int is dated as well as the ftp_alloc takes an int or at least change it from bytes to kbytes. I do use the FTP protocol quite a bit with my backup script and well backing up WEB servers now are larger then 2.1GB and I may have to switch over to another language. I would really love to see this change implemented not just for the reason there are more then 2.1 GB files out there but at least update it to be Kbyte and mulitply it by 1024 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=33426&edit=1

« previous php.bugs (#225608) next »