Network Programming with Perl By Lincoln D. Stein Slots : 1
Table of Contents
Chapter 6. FTP and Telnet
Content
This chapter covered Perl client modules for two of the most widespread application-level protocols, FTP and Telnet. Together they illustrate the extremes of application protocols, from a rigidly defined command language designed to interact with client programs to a loose interactive environment designed for people.
The Net::FTP module allows you to write scripts to automatically connect to FTP sites, explore their holdings, and selectively download or upload files. Net::Telnet's flexible pattern matching facilities give you the ability to write scripts to automate processes that were designed primarily for the convenience of people rather than software.