Question
Perl script ftp?
Answer
Another limitation is the difficulty in porting Expect scripts between platforms. For example, an Expect script that was written to use several Unix-based tools, might not be suitable if migrated to a Windows platform. If possible, the programmer must find counterpart command-line applications that provide the same information, and this will probably require changing the send/expect's, which can be a major part of the script. This is not an issue if you load tcl, perl or python on the machines in question, and use those languages native posix interfaces for accessing files (open/close) and so on, as well as using standard posix utilities (telnet, ftp etc.) for remote interaction.
— Source: Wikipedia (www.wikipedia.org)