ID: 32288
User updated by: romaneos at gmail dot com
Reported By: romaneos at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Win 2000
PHP Version: 4.3.8
New Comment:
a
Previous Comments:
------------------------------------------------------------------------
[2005-03-13 04:36:25] romaneos at gmail dot com
Description:
------------
When I using fopen(ftp://...) my FTP-server show that this function
request file size:
5:09:18 - anonymous 172.31.8.72 > SIZE /Pictures/image.jpg
5:09:18 - anonymous 172.31.8.72 > 213 122387
but as I know fstat() could'n return FileSize for FTP
Reproduce code:
---------------
$fp =
fopen("ftp://".$ftp_server_user.":".urlencode($ftp_server_pass)."@".$ftp_server_name.":".$ftp_port.$dir_id."/".$file_id,
"r");
Expected result:
----------------
I'd like that fstat() return FileSize at least, for FTP
Your Bunny Wrote :)) (don't pay attention to this text)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32288&edit=1