Req #29248 [Fbk->NoF]: FTP does not work on glFTPD + TLS
Edit report at https://bugs.php.net/bug.php?id=29248&edit=1
ID: 29248
Updated by: php-bugs@lists.php.net
Reported by: toppi at kacke dot de
Summary: FTP does not work on glFTPD + TLS
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: FTP related
Operating System: Linux
PHP Version: 5.0.0
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-10-18 15:47:33] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1] and a somewhat recent glFtpd?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2004-07-19 00:44:22] toppi at kacke dot de
Description:
------------
When using ftp_ssl_connect + ftp_login on a glFTPd + TLS
it connects but all further commands are fail
I expect the portcmds are failing
Used SFTPd glFtpd 1.3 + TLS
Reproduce code:
---------------
<?
error_reporting(E_ALL);
if(!$conn = ftp_ssl_connect("HOST","PORT",10)){
echo "no connex";
exit;
}
if(!ftp_login($conn, "USER","PASS")){
echo "wrong lp";
exit;
}
echo (ftp_systype($conn))."<br>";
$path = ftp_pwd($conn);
echo "$path<br>";
//until here everthing seems ok
var_dump(ftp_rawlist($conn,$path));
var_dump(ftp_nlist($conn,$path));
var_dump(ftp_raw($conn, "CWD $path"));
ftp_quit($conn);
exit;
//all this == false
?>
Expected result:
----------------
one ralist
one nlist
one cwd incomingdir
Actual result:
--------------
The example above gives:
------------------
UNIX
/
bool(false)
bool(false)
array(0) { }
------------------
I found the same kind of symptoms when using
fsockopen("tls://"."host","port", ....etc
Already posted at Bug #28754 No TLS / SSL support for FTP were the connect already fails.
This one above connects, but keep stick.
A glFtpd + TLS support would be really cool cause much in use
Thank you guys !
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=29248&edit=1
Thread (3 messages)