ftp_size() with size > 2^31?

From: Jonas Witt (jonas.witt_at_gmail.com)
Date: 10/21/04


Date: 21 Oct 2004 12:42:49 -0700

Hi,

I got an 4GB file on my FTP server; the server reports the file size
correctly (4190578688 bytes). But ftp_size() only returns 2147483647
(2^31) bytes. Am I doing something wrong or is this a bug? In the
first case: how can I prevent the problem? In the latter case: is this
a known bug? I found nothing in the php bug db.

thanks,
 Jonas



Relevant Pages

  • Re: [Full-disclosure] NetBSD FTPD and ports ***REMOTE ROOOOOT HOLE***
    ... I can confirm that this bug is present on OSX 10.3.9 at the very least. ... FTP operations by authenticated FTP users may lead to ... Multiple issues in FTP server path name handling ... It offers many enhancements over the traditional BSD ftpd, ...
    (Full-Disclosure)
  • Directory traversal in Tridcomm 1.3
    ... Bug ... Fix ... FTP server disabled by default. ... The built-in FTP server in Tridcomm is vulnerable to a directory ...
    (Bugtraq)
  • Directory traversal in Tridcomm 1.3
    ... Bug ... Fix ... FTP server disabled by default. ... The built-in FTP server in Tridcomm is vulnerable to a directory ...
    (Full-Disclosure)
  • [Full-Disclosure] Directory traversal in Tridcomm 1.3
    ... Bug ... Fix ... FTP server disabled by default. ... The built-in FTP server in Tridcomm is vulnerable to a directory ...
    (Full-Disclosure)
  • Re: secure ftp
    ... >> If anyone out there runs an ftp server, ... And ProFTPd is bug free ... ... ProFTPD - Problems in file globbing, ...
    (comp.os.linux.security)