NullReferenceException on Disconnect (General questions)
I am working on a windows service that will connect to an sftp site and download files. I have written a test app to help test my code. I get a NullReferenceException after calling the Disconnect method. Basically, i connect to an ftp site, download files with the GetFiles method and disconnect. When calling disconnect i get the error. I am unable to trap this error as well.
Re: NullReferenceException on Disconnect
Hi.
Any chance you could send us that exact code to techsupport@weonlydo.com ?
Did you make any changes in menu Debug->Exceptions? Did you perhaps set it to always break into debugger for this exception, no matter if it's handled or not?
Kreso