|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-12 18:27 UTC] fcurra at tecnonexo dot com
[2004-07-12 19:08 UTC] pollita@php.net
[2004-07-12 19:16 UTC] pollita@php.net
[2004-07-12 20:10 UTC] fcurra at tecnonexo dot com
[2004-07-12 20:17 UTC] fcurra at tecnonexo dot com
[2004-09-21 14:27 UTC] fcurra at tecnonexo dot com
[2004-09-21 22:00 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 27 19:00:01 2025 UTC |
Description: ------------ I need to retrieve files from a SSL-FTP connection. I started working with PHP 4.3.3, but the function ftp_rawlist() allways returned false with a specific FTP server (casually the one which i need to connect, it works with others). So, after read comments about other ocurrences of this problem i installed PHP 4.3.7 and tried again. I though that maybe with the last PHP version this problem were solved. When i execute the reproduced code, received the actual result showed. Reproduce code: --------------- if( $conn_id = ftp_ssl_connect($ftp_host) ) { $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); ftp_pasv($conn_id, true); $pwd = ftp_pwd($conn_id); $buff = ftp_rawlist($conn_id, $pwd); var_dump($buff); } ftp_close($conn_id); Expected result: ---------------- print the list of files. Actual result: -------------- Warning: ftp_rawlist(): php_connect_nonb() failed: Connection refused (111) in /usr/local/apache_1.3.27/htdocs/nti/connect.php on line 44 bool(false) ** LINE 44 is *********************** $buff = ftp_rawlist($conn_id, $pwd); *************************************