CPAN::Forum
Net-SFTP - Re: SFTP Exit call stops perl script
Modules by name Modules by PAUSEID Users by name Posts by text in subject Posts by text in body
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:
Maybe something similar would work for you?