Looking for a batch file (to run in window machine) to login using telnet. Once login execute two line of commands (first one is pass <Ctrl A> command , 2nd one is number) to pull a data set( few lines of data ). Write these outcome in a text file.
In short , we are able to pull this data in command line(within Telnet) by giving individual commands. we need these as batch file/script so that we can automated this .
the batch file can be VB script or Perl script or anything that can be executed in window machine
Although telnet isn't easy to automate, it is possible to do what you wish with VBScript.
It would be great if you can give me access to telnet server, because of testing, but it is not absolutely necessary.
Hello,
I've more than 8 years working with Python. I developed lots of script tools for Windows and Linux using Python. This would require socket programming which I'll implement for you.
Let's chat more about what I can do for you.
I'm the best candidate to get you a painless and efficient solution!
Hello! How are you? I'm graduated in Computer Science. I can definitely help you with your need. In the company where I currently work, I have built a similar solution for logging mobile devices into SAP ERP through telnet. Please contact me to align how it will be done. I believe it will be a simple task, so I will charge the minimum bid.
Thank you and have a nice day!
Assumptions:
- The telnet endpoint you are communicating with doesn't have any other ways of exposing itself (like a ReST API or anything)
- The commands will always be run from some Windows machine
Open questions:
- What versions of Windows will you be running this script from?
I'd recommend you do this via Powershell as opposed to writing a batch or CMD file. Getting direct access to .NET classes and objects and the ability to programmatically handle errors and output formatting in a Windows native way would be a strong approach. It also keeps you current with technology from the standpoint of upkeep in the future.
Powershell is the way forward on Windows, even though other things could work, like Python, etc.