Calling the Done_Event with SFTP.NET (wodSFTP / wodSFTP.NET / wodSFTPdll)
Is it possible to call the Done_Event from another event in the SFTP.NET component without calling a function such as ListNames? For example...I can call the Done_Event within the Done_Event by using Call Done_Event(sender, args) but that code won't work in the Connected_Event because ConnectedArgs cannot be converted to DoneArgs. Is there a way around this?
Re: Calling the Done_Event with SFTP.NET
Jason,
yes this is possible. You can do, for example, this:
[code]sftp1_DoneEvent(Sender, null);[/code]
or this
[code]WeOnlyDo.Client.SFTP.DoneArgs doneargs = new WeOnlyDo.Client.SFTP.DoneArgs(Args.Error);
sftp1_DoneEvent(Sender, doneargs);[/code]
can you try if this will work for you?
Re: Calling the Done_Event with SFTP.NET
Yes, that does work:
Call SFTP_DoneEvent(sender, Nothing)
That's for the VB.NET implementation. Thanks!