views:

79

answers:

2

Hello Everyone,

I want to make a status report of when my FTP server is on and when its off. HTML is the language which I prefer to use. I have never used HTML before, and I need it urgently due to a large request of when my ftp server is off and when its on. Can someone help me with this status report?

Thanks,

Kevin

+1  A: 

If I were doing this, I would write an ASPNET page (or PHP, or etc) that simply connects and authenticates to the FTP server. If this succeeds, the server is online. The ASPX logic would then generate an HTML page indicating the results.

In the simple case you connect to the FTP server with each request for the page. It should cache the result though, and only check every minute, or five minutes, or some longer interval, regardless of how often a request for the status is made.

Cheeso
+1  A: 

May i suggest instead of writing your own, you just install server monitoring tools on your server instead? It might be an easier choice that writing your own.

Google search

HTML is a static markup language. You might want need to use a server-side script like PHP or Perl to query for the FTP server status.

Andrew Keith