Thread Disconnect of Net::SFTP
(6 answers)
Opened by prassito at 2005-05-31 11:42
Hi Folks
I have a Perl-Script that tries to connect each minute via SFTP. But i receive this error every second try, because the socket is still occupied by my connection: Net::SSH: Can't bind socket to port 1023: Die Adresse wird bereits verwendet at /usr/lib/perl5/site_perl/5.8.5/Net/SFTP.pm line 61 I tried to figure out if there is a methode for a clean shutdown of my SFTP-Object (like $sftp->quit())...or something like this. But i did find anything yet. Somebody an idea how to solve this problem? Thanks and gratz prassito |