ID:               37701
 User updated by:  ionut dot aivanesei at amdocs dot com
-Summary:          fopen/file_get_contents failes on openning files over
                   FTP
 Reported By:      ionut dot aivanesei at amdocs dot com
 Status:           Bogus
 Bug Type:         FTP related
 Operating System: Solaris
 PHP Version:      5.1.4
 New Comment:

I know that, but do you have a solution or a workaround?
I really cannot continue with this error and I don't know how to avoid
it.

Any help will be much appreciated.

Thanks,
Ionutz


Previous Comments:
------------------------------------------------------------------------

[2006-06-05 14:37:22] [EMAIL PROTECTED]

Duplicate of bug #35765.

------------------------------------------------------------------------

[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

Reply via email to