im looking for script that checks remote ftp server status are online or offline, nice if i can add 5+ remote servers for checking status... i have only found http server status script
Assuming it uses something like fsockopen just change the port to 21. or append 21). Dan (Or whatever port the FTP server is on.)
Can use Danltn's advice with this url : http://www.phptoys.com/e107_plugins/content/content.php?content.41
shallowink thats a good tool to, but i was looking script where i add about 5 + server addresses and it displays to the customers server statuses
Just take that script and use a Loop to call the server check function. something like $hosts_to_check = ("ftp://host1.com","ftp://host2.com", "ftp://host3.com") ; foreach ($hosts_to_check as $host) { $result = pingDomain($host) if($result == "-1") { echo "Host is down"; } else { echo "host is up"; } } Would have to be a little bit more involved and could be wrong. Its a quick starting point.