ID: 27809
User updated by: jesse dot binam at simplot dot com
Reported By: jesse dot binam at simplot dot com
-Status: Feedback
+Status: Open
Bug Type: FTP related
Operating System: Any
PHP Version: 4.3.5
New Comment:
ftp> quote SYST
215 OS/400 is the remote operating system. The TCP/IP version is
"V5R2M0".
Previous Comments:
------------------------------------------------------------------------
[2004-03-31 14:06:34] [EMAIL PROTECTED]
What does SYST command return on your FTP server? The php's
ftp_systype() is pretty much a wrapper around execution of
SYST and fetching the response.
------------------------------------------------------------------------
[2004-03-31 13:44:05] jesse dot binam at simplot dot com
Description:
------------
When using ftp_systype() while connected to a AS/400 (V5R2M0 in my
case) returns null.
Reproduce code:
---------------
<?php
$fc = ftp_connect('as400server');
$login = ftp_login($fc,'username','password');
$systype = ftp_systype($fc);
echo $systype;
?>
Expected result:
----------------
I expect the output to be
'OS/400'
Actual result:
--------------
a null value
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27809&edit=1