From the same package:
sub ftp { return $_[0]->get('connection'); }
Thus I get the current connection or create a new one if I need to.
So, in essence, I do as you suggest, but I leave it generic - passing the control of the connection details to another object.
Do you think it is a reason why the TCP connection disappears at one end?
What really confuses me is that the problem occurs sporadically - and I cannot recreate the error.
- Graq