Hi, I’m trying to establish a connection to digitalocean droplet from localhost to do ftp functions using PHP script but it is failing. Does digitalocean servers allow connecting from a remote script or i’m missing something? Your assistance will be much appreciated. See the code I’m using below:
// my ftp server $ftp_server = “184.108.40.206”;
// connect to FTP server $ftp_conn = ftp_connect($ftp_server) or die(“Could not connect”);
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.