in reply to how to implement Net::FTP::AutoReconnect
This lends itself nicely to you imnplementing a routine to do your FTP, returning an indication of success or failure.