rody1 Posted October 13, 2006 Share Posted October 13, 2006 Hi there,Does anybody know why my script dies after calling the function:ftp_connect($host)I am building an FTP site, but got stuck here. I have to comment out the rest of my code, because it just dies after calling that function:Here is what I have: $host = 'ftp.cs.rmit.edu.au'; $conn = ftp_connect($host) or die("Couldn't connect to ftp server"); //connect to host if(!$conn) { echo "Error: could not connect to ftp server<br>"; } echo "Connected to {$host} <br>";I commented out everything and just left the ftp_connect function. I know it dies right there, because I tried to echo a simple statement, and it just doesn't get past the ftp_connect functionPlease help me.Thanks!Alberto Link to comment https://forums.phpfreaks.com/topic/23908-ftp_connect-problem/ Share on other sites More sharing options...
myron Posted December 28, 2006 Share Posted December 28, 2006 Alberto,I'm having the exact same problem. Did you find a solution?Myron Link to comment https://forums.phpfreaks.com/topic/23908-ftp_connect-problem/#findComment-148551 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.