in reply to Writing to a program
Just another small point to add. If you are basically automating a task without interaction, there are already programs for it, namely a port of wget (a web grabber that also does ftp:// links and ncftp a really good free console ftp client. Both can transfer your file in one go.
Obviously, this has nothing to do with Perl, but I think it is as important to know what other tools are already available out there :-)
|
|---|