You could use cfexecute (or a custom-tag equivalent) to telnet to that
port, capture the output, and if the output is what you expect (ie, a
login prompt, or an smtp server display, etc.), the server is ok.  Of
course, this may not work for every situation.  Alternately, if you
wanna "groove" (I hear the theme from "Shaft" coming on) with TCP/IP,
check out the custom tag CFX_TCPClient.

-- 
Billy Cravens
[EMAIL PROTECTED]





Daive wrote:
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0077_01C02C7E.D55590F0
> Content-Type: text/plain;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Hi everybody,
> 
> i've made a website that allow to a user (if they are registred) to =
> enter some address (http) and port to check his status. (if site is =
> down, or slow etc. ) That was easy, i'm just using CFHTTP tag and =
> verifying cfhttp.values .. And if an error is occured, the user receive =
> an email.
> 
> Now one of my client want to check the status of other kind of address. =
> By example, an STMP server or FTP server. I don't really know which tags =
> or tools i need to work on .. Is there someone that can suggest the best =
> way to do it?=20
> 
> Thanks!
> 
> Daive
> [EMAIL PROTECTED]
> 
> ------=_NextPart_000_0077_01C02C7E.D55590F0
> Content-Type: text/html;
>         charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV>
> <DIV><FONT face=3DArial size=3D2>Hi everybody,</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>i've made a website that allow to a =
> user (if they=20
> are registred) to enter some address (http) and port to check his =
> status. (if=20
> site is down, or slow etc. ) That was easy, i'm just using CFHTTP tag =
> and=20
> verifying cfhttp.values .. And if an error is occured, the user receive =
> an=20
> email.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Now one of my client want to check the =
> status of=20
> other kind of address. By example, an STMP server or FTP server. I don't =
> really=20
> know which tags or tools i need to work on .. Is there someone that can =
> suggest=20
> the best way to do it? </FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
> <DIV><FONT face=3DArial size=3D2>Daive</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2><A=20
> href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></FONT><=
> /DIV></DIV></BODY></HTML>
> 
> ------=_NextPart_000_0077_01C02C7E.D55590F0--
> 
> ------------------------------------------------------------------------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to