Msg#: 3806394 posted 9:06 pm on Dec 12, 2008 (gmt 0)
Greetings, I am new to PHP and I am having issues with the ftp_connect command. My site is hosted by a 3rd party and I am able to ftp using ftp software and also by using IE or Firefox with ftp.mysite.com as the URL. I create simple PHP page to test the ftp connection to my hosting server.
$conn_id = ftp_connect("ftp.mysite.com")or die ("Can't connect to FTP Server");
When called, I get the "Can't connect.." - the die statement. I would appriciate any suggestions.
Msg#: 3806394 posted 2:46 pm on Dec 29, 2008 (gmt 0)
I am having same issues, I'm running some PHP code to remotely connect (FTP) to another 3rd party webhosting company. I also get failed to connect every time with code very similar to yours. I'm still working on it and when I get it figured out, I'll post results here. Please do the same! Thanks
Msg#: 3806394 posted 3:53 pm on Jan 14, 2009 (gmt 0)
Thanks CWI Tech Guy. On the last response from my hosting company, they admitted not knowing web design or coding. I emailed them regarding access through the Firewall as you suggested, we will see what they say.