in reply to how to implement Net::FTP::AutoReconnect

Test the return statuses of your new, login and get/put. If any fail, do a quit, and repeat your FTP attempt.

This lends itself nicely to you imnplementing a routine to do your FTP, returning an indication of success or failure.

  • Comment on Re: how to implement Net::FTP::AutoReconnect