Estimating File or Directory (wodSFTP / wodSFTP.NET / wodSFTPdll)

by STEVEN @, (6597 days ago)

Query,
How to estimate to exist of the file or directory at Remote Server?
Do it have any methods?
Thanks.

locked

Re: Estimating File or Directory

by wodDamir @, (6597 days ago) @ STEVEN

Hi Steven,

We don't have a method that would do that implemented in wodSFTP. However, that could pretty easily be done if you do ListDir or any method which tries to access that file/directory. If the file/directory doesn't exist on server, it will return the appropriate error.

Hope this helps.

Regards,
Damba

locked