|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-07 11:09 UTC] wez@php.net
[2003-10-07 16:26 UTC] pollita@php.net
[2003-10-13 03:03 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
Description: ------------ Hello, I am not sure if everything is ok in ftp_ssl_connect() function ... I am trying to connect ftp server using this function but I cant ... I will be grateful if you can tell me what should I do ... or ... what should I install on the server . Reproduce code: --------------- define('AUTO_TXN_HOST', 'ftp.domain.com'); $sftp = ftp_ssl_connect( AUTO_TXN_HOST, 22 ); // problem is in this line Expected result: ---------------- I should be connected Actual result: -------------- Warning: ftp_ssl_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/httpd/my/account/site/script.php