# Easy Telnet scripting?

**URL:** <https://boards.straightdope.com/t/easy-telnet-scripting/271741>\
**Category:** Factual Questions\
**Created:** [October 28, 2004, 9:54pm UTC](https://boards.straightdope.com/t/easy-telnet-scripting/271741 "2004-10-28T21:54:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Merijeek](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Merijeek](https://boards.straightdope.com/u/Merijeek)\
**Post date:** [October 28, 2004, 9:54pm UTC](https://boards.straightdope.com/t/easy-telnet-scripting/271741/1 "2004-10-28T21:54:20Z")

</div>

Back in the olden days of Win95 I used to write FTP scripts several time a day.

You’d FTP with a control file and it would run through that file, sending a command, waiting for a response, processing the next command, and on and on until it finished.

Is there such a thing for doing Telnet sessions? Everything out there seems to want Perl or SSH, but I don’t want anything that sophisticated.

Something tells me I’m just using the wrong search terms. Anyone have any suggestions?

-Joe

---

<div class="post-metadata">

**Author:** ![duality72](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/duality72/32/3910_2.png) [@duality72](https://boards.straightdope.com/u/duality72)\
**Post date:** [October 28, 2004, 10:29pm UTC](https://boards.straightdope.com/t/easy-telnet-scripting/271741/2 "2004-10-28T22:29:50Z")

</div>

[Expect](http://expect.nist.gov/) is probably what you want to use.
