Re: Need best method to test whether a remote dire (General questions)

by wodDamir, (5097 days ago) @ kevino

Hi Kevin,

The easiest way to upload a whole directory structure would be to use PutFiles method.

As for checking if folder exists on remote side, you would need to use RealPath method, or try getting a directory structure using i.e. ListAttributes method. This will trigger AttributesData event which you can use to iterate through specific items (files, directories etc.).

Hope this helps.

Regards,
Damba

locked

Complete thread: