From: <RGi...@a1...> - 2002-03-18 08:32:00
|
> > You should at least read the documentation for Net::FTP before > you decide. > > It's extremely easy to use. > > You probably could have re-written your app in 1/100th of the > time we've all spent > > on this email thread today. > > > > I'm sure that's true, and yet I'll waste it with one more reiteration > of 'TMTOWTDI'. I find in the perl community that despite TMTOWTDI > being a catch phrase, there is frequently discussion about how one > method is always better in all situations. Nothing against TMTOWTDI, but keeping re-inventing the wheel is definitely a waste of time, given that there are stable, versatile, well-tested tools out there that already do what you want. Instead of automating the ftp client for the 1000th time and falling into the trap of not thinking about error cases, take a look at ncftp (http://www.ncftp.org), which is scriptable and thus very useful in solving all kinds of sysadmin problems involving file transfer. TMTOWTDI should always be used on problem level before trying to use it on implementation level... Roland -- RGi...@cp... |