AYUDAAAA TELNET en ASP

26/08/2004 - 03:05 por Virmix | Informe spam
Como puedo hacer una conexión tipo telnet a un servidor usando un puerto
???????
 

Leer las respuestas

#1 Franco Figún
26/08/2004 - 03:24 | Informe spam
Manage a Telnet session in ASP with the Autologin Demo
http://www.dart.com/samples/autologin.asp

<%
Dim strCommand, objWshShell, intReturn
strCommand = "C:\WINNT\SYSTEM32\telnet.exe"
Set objWshShell = Server.CreateObject("WScript.Shell")
On Error Resume Next
intReturn = objWshShell.Run(strCommand, 1, TRUE)
Set objWshShell = Nothing
If intReturn <> 0 OR Err.Number <> 0 Then
Response.Write("<b>Error:</b><br /><b>WScript.Shell Returned:</b><br
/>Number: </b> " & intReturn & "<br /><b>VBScript Returned:</b><br
/><b>Number:</b> " & Err.Number & <br /><b>Description:</b> " &
Err.Description & "<br /><b>Source:</b> " & Err.Source & ")
Else
Response.Write("Command Executed!")
End If
%>

FF
www.francofigun.com.ar
www.microsofties.com.ar
Yahoo MSN:
ICQ: 314408886

"Virmix" escribió en el mensaje
news:nRaXc.109516$
Como puedo hacer una conexión tipo telnet a un servidor usando un puerto
???????


Preguntas similares