Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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).

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.
Praju22

Object reference not set to an instance of an object while copying files using winscp dll ->.NET

My .net exe was working fine till last weekend 18th April 2020. Coying file was having no issue. But Infra team did some OS patches and I started getting this error in WInSCP copy function. Is there any impact of patches on DLL etc? Please advise. Attached is code which is very simple still not working.