Checking if a directory exists - WeOnlyDo Discussion board

Checking if a directory exists (wodSFTP / wodSFTP.NET / wodSFTPdll)

by suny, Monday, November 28, 2005, 12:16 (6935 days ago)

Hallo,

I have to check if the passed directory exists. I am working in blocking mode. Has there somebody any idea how to do that.

Thanks

Re: Checking if a directory exists

by wodSupport, Monday, November 28, 2005, 12:41 (6935 days ago) @ suny

Suny,

you could use GetAttributes. If it fails, you will get an error. You can also use RealPath.