Re: NET::SFTP - How to close connections
- From: usenet@xxxxxxxxxxxxxxx
- Date: 28 Sep 2006 11:23:17 -0700
Dave wrote:
I cannot find any method to close SFTP connection since $ftp->quit
works only with FTP.I have to run many SFTP scripts and I cannot let
all my connections hang up.
Did you read the docs for the Net::SFTP module? Did you miss the close
method:
$Session->do_close or [handle the error]
But the connection should close all by itself when the handle goes out
of scope (or the program ends).
--
David Filmer (http://DavidFilmer.com)
.
- References:
- NET::SFTP - How to close connections
- From: Dave
- NET::SFTP - How to close connections
- Prev by Date: Re: cgi script
- Next by Date: Re: match and grab
- Previous by thread: NET::SFTP - How to close connections
- Next by thread: cgi script
- Index(es):