|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2016-12-30 19:01 UTC] cmb@php.net
 
-Package: Feature/Change Request
+Package: FTP related
  [2021-10-18 15:47 UTC] cmb@php.net
 
-Status:      Open
+Status:      Feedback
-Assigned To:
+Assigned To: cmb
  [2021-10-18 15:47 UTC] cmb@php.net
  [2021-10-31 04:22 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 02:00:02 2025 UTC | 
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 !