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

Advertisement

Praju22
Joined:
Posts:
2
Location:
Singapore

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,378
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum