Cover by Ron Peters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

CHAPTER 29Automating InteractiveProcesses

Automating commands that are normally used interactively is something I've done many times. The simplest and most common script of this sort that I've used automates an ftp session to copy files from system to system. I'll concede that for security reasons, ftp is not a good method for moving files around, especially when the session requires login/password authentication as a user other than "anonymous." Usernames and passwords are then sent across the network unencrypted. Even in a controlled environment, this has its risks, which should be considered carefully. Using this method out in the wild means asking for trouble.

In any case, the point of this section is not to weigh the pros and cons of using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required