I need some suggestions or best practices to create dynamic folders on my local system using program command shape or any other best way.
As I am trying to achieve- Get the attachments from salesforce and create the same hierarchy as folders on my local machine and then place the attachment under the specified directory.
Eg. Salesforce Hierarchy:
Contacts -> Accounts-> attachment
Expected: Create folder Contacts-> Subfolder Accounts and place the attachment in Accounts with the same file name.
Please, suggest me some best ways to achieve this!!
Thanks in Advance,