wodSSH and errors (General questions)

by Littlerob @, (6909 days ago)

I've been mucking about with the wodSFTP and wodSSH controls (OCX) and I'm curious as to why the error handling is different.

In wodSFTP there is a LastError event and property but not with wodSSH. Is this by design, an oversight, or for some other reason?

Cheers

Rob

locked

Re: wodSSH and errors

by Jasmine, (6909 days ago) @ Littlerob

Rob,

not sure why. I think LastError was added in wodSFTP later on.

Why are you missing it? Which language do you use? Do you have Err object available there?

Kreso

locked

Re: wodSSH and errors

by Littlerob @, (6909 days ago) @ Jasmine

Kreso

Sorry my bad. I was assuming that the wodsFTP methods were not raising a standard VB error. Since they do, my check for LastError was redundant.

Cheers

Rob

locked