Re: Object reference not set to an instance of an object while copying files using winscp dll ->.NET
What is the exception callstack?
Please attach a full session and debug log file showing the problem (using the latest version of WinSCP).
Please attach a full session and debug log file showing the problem (using the latest version of WinSCP).
To generate the log files, set
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.