Net-SFTP - Re: SFTP Exit call stops perl script

Posted on Wed Oct 4 17:46:17 2006 by monkeychunks in response to 3183 (See the whole thread of 3)
Re: SFTP Exit call stops perl script

This may or may not help...

I use the Net::SFTP module, and it doesn't include a builtin disconnect command. To disconnect the SFTP connection, I close the socket:

close($sftphandle->{ssh}->sock());

Maybe something similar would work for you?

Write a response