Re: Need best method to test whether a remote dire - WeOnlyDo Discussion board

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

by wodDamir, Wednesday, May 18, 2011, 17:50 (4936 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


Complete thread: