Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Start Telnet From Aspect

Status
Not open for further replies.

techie2000

Technical User
Oct 24, 2001
1
US
Does anyone know the command line syntax for Aspect to start a telnet session: i.e. to telnet to a particular IP address?
 
It is still a dial command.

Proc Main
Dialnumber telnet "207.130.25.191"
EndProc

I tested this to be sure. You can also set up a connection directory entry or use set statements to specify the port and other settings. Robert Harris
Communications Advantage
 
If the telnet connection you want to use is in your Connection Directory, the following command line will start Procomm in telnet mode and make a connection to the telnet system:

pw5.exe connect telnet entryname

where entryname would be replaced by the name of the Connection Directory. If you are running a version earlier than 4.8, replace pw5.exe with pw4.exe

If the remote system is not in your Connection Directory, you can use:

pw5.exe connect manual telnet "address"

where address is either the IP address or fully-qualified domain name of the system you are trying to telnet to, and must be contained in quotes.
 
I use this very often with procomm 4.7

proc main
connectmanual telnet "x.x.x.x"
endproc

from the command line it's

pw4.exe telnet connect manual x.x.x.x

Daniel
 
Connectmanual and Dialnumber do the same thing (I was curious because I have always used dialnumber). The Aspect help says:
connectmanual is a synonym for dialnumber. Please see dialnumber for more information and an example script.
connectmanual accepts only a single telephone number. For multiple Connection Directory entry number, use the dial or connect command.
connectmanual will fail if a dialing operation or a file transfer is already in effect.

Robert Harris
Communications Advantage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top