Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Check if FTP is up or not
I have the following problem:
I have a website on an intranet that runs under Red Hat 7.3 I also installed Apache + MySQL + PHP (LAMP)
On this intranet there are some FTP servers running. I have made a script where people can upload the user and password and the IP of the FTP server. This gives a nice list but now I want the status as well to be displayed. Is this possible and how should I implement this? Can I do this by running a shell script or do I have to do this another way ??