Whenever I am finished with the $ftp object, I call 'close' on it.
There is no evidence of preceding connections failing at all before the connection that hangs.
This is the base object (re: $_[0]->get('connection'):
sub get
{
my ($self, $property) = @_;
if ($#_ == 0) {
return map {$_, $self->{'properties'}->{$_}} $self->properties
+;
}
# if $property is an array, return all values
if ( ref $property eq 'ARRAY') {
my %retHash = ();
grep {$retHash{$_} = $self->{'properties'}->{$_}} @$property;
return \%retHash;
}
return $self->{'properties'}->{$property};
}
Are you saying that this will cause the $ftp instance to be recreated?
If so, why does this cause sporadic failure rather than constant failure or regular failure?
--
Graq