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

by Daniel, (5814 days ago) @ wodDamir

Ah, right. Something like:

Try
wodSFTP.RemotePath = strDirectory
Return True
Catch
Return False
End Try

I suppose it's just that deliberately testing for failure, and then working forwards from an assumption as to why it failed, seems a bit counter-intuitive, but I guess there's only so much information that can be gained from looking down a secure pipe, and trying to interpret the messages that come back.

locked

Complete thread: