Re: $session.FileExists throws an error
Thank you. The if...then statement is working now.
Please attach a full session log and debug log files showing the problem (using the latest version of WinSCP).
To generate the log files, setSession.SessionLogPath
andSession.DebugLogPath
. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.
Session.SessionLogPath
and Session.DebugLogPath
. Submit the log with your post as an attachment. If you do not want to post the log publicly, you can mark the attachment as private.