I'm converting a script that uses Expect into using NET::SFTP. The Expect version uses
$exp->log_file("/dirname/filename.txt");
to get the session messages into a log file. How do I capture my session messages in the NET::SFTP script?
Thanks, in advance, for your time & assistance.