Discovered through the GitHub that you have to use SetSessionLogPath() to set this value. This isn't in the documentation on the winscp.net website.
I'm trying to create a new session and I want to set a SessionLogPath on a Windows host.
# Initialize for Session
my $session = Win32::OLE->new('WinSCP.Session');
$session->SessionLogPath = "D:/SCP_Workflow_Logs/";
When I reach this point in the code I get the error:
Can't modify non-lvalue subroutine call at ********* line 1295.
Does anyone know what's causing this?