Need a direction to start this project…


Profile photo of aaascnow

  • Joined:
    Apr 13, 2011
  • Posts: 38
  • Participant

Wed 20/07/2011 at 04:24

I have a server at a remote location.


I need to do the following


Disconect a VPN

ping the DNS name

Log the IP

log into a telnet

enter log in and password

enter a command

wait 30 seconds

ping the DNS again

log the IP

compare the IP

If the same do it again.

If a different IP than used in the last 24 hours

reconect the VPN


then make into an exe and run it with a time trigger



I need to log the IP and time stamp it, then read the file each time a new one is read.


I started this but got stuck trying to tell it to wait if NO Reply was found in the ping command.


So I got to step 3…





Profile photo of Samantha

  • Joined:
    Apr 23, 2010
  • Posts: 2795
  • Participant

Thu 21/07/2011 at 12:19

To log into the telnet, what do you use User Interface or Telnet prompt window? You can use the Send DOS Command and send through the corresponding argument to do what you need. Please find a list of the telnet commands here: :) Samantha


Our Technical Support Forum is Going Social!

Attention, great news! This forum will soon be transferred to LinkedIn. If you are a WinAutomation customer please send us a request to join WinAutomation Customer Technical Support LinkedIn group.

You may also request WinAutomation support by opening a support ticket.

Alternatively, you may contact us via email at or, for general inquiries, you can send us your message by submitting the Contact Us webform.

Thank you for Automating with us!

Viewing 2 posts - 1 through 2 (of 2 total)