Error using SFTP.NET in command line program - WeOnlyDo Discussion board

Error using SFTP.NET in command line program (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Marc Butenko, Wednesday, February 23, 2005, 03:26 (7012 days ago)

When using the SFTP.NET component in a Windows app, it works great.

However, when I launch the same program using command line arg and don't show or create any forms, I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at n.af()
at WeOnlyDo.Client.SFTP.Connect()
at My_Namespace.FTPFunctions.ConnectFTP(Boolean Block, String UserName, String Password, StreamWriter LogFile) in FTPFunctions.vb:line 32

Where line 32 is the SFTP.Connect() method call.

Anybody have any ideas?

Thanks,
Marc

Re: Error using SFTP.NET in command line program

by wodSupport, Wednesday, February 23, 2005, 12:22 (7012 days ago) @ Marc Butenko

Marc,

any chance you could ZIP that project and send it to techsupport@weonlydo.com ? Do you set Blocking = True?