ID: 37701
Updated by: [EMAIL PROTECTED]
Reported By: ionut dot aivanesei at amdocs dot com
-Status: Open
+Status: Bogus
Bug Type: FTP related
Operating System: Solaris
PHP Version: 5.1.4
New Comment:
Duplicate of bug #35765.
Previous Comments:
------------------------------------------------------------------------
[2006-06-05 14:12:26] ionut dot aivanesei at amdocs dot com
it is the default FTP server which comes with SunOS 5.x
------------------------------------------------------------------------
[2006-06-05 13:53:37] [EMAIL PROTECTED]
What kind of FTP server is that?
------------------------------------------------------------------------
[2006-06-05 13:41:59] ionut dot aivanesei at amdocs dot com
Description:
------------
I cannot use fopen/file_get_contents on Solaris over FTP (the same is
working fine in HP-UX, AIX).
Reproduce code:
---------------
<?php
echo file_get_contents('ftp://[EMAIL PROTECTED]/filename');
?>
Expected result:
----------------
contents of 'filename' should be printed
Actual result:
--------------
files is not opened and a warnign is shown:
Warning: file_get_contents(ftp://[EMAIL PROTECTED]/filename)
[function.file-get-contents]: failed to open stream: FTP server reports
500 'SIZE /filename': command not understood. in script.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37701&edit=1