Re: How, exactly DO I use getAttributes to work ou - WeOnlyDo Discussion board

Re: How, exactly DO I use getAttributes to work ou (General questions)

by wodDamir, Tuesday, June 02, 2009, 12:38 (5652 days ago) @ Daniel

Hi Daniel,

I assume you are using Blocking mode. In that case, you can simply ignore exceptions in your code, and check LastError immediately after the method executes.

I.e:

[code]On Error Resume Next
wodSftp1.RealPath( / )
if wodSftp1.LastError = 0 then
'Do something
else
'do something else
End if[/code]

Can you try something like that?

Regards,
Damba


Complete thread: