I'm developing a desktop (electron) app that integrates with the Dropbox javascript SDK and uses node js to perform tasks on the local machine, allowing an online and offline experience.
All I am doing is programmatically creating a new folder in the Dropbox desktop folder using node js... the problem is that it automatically sets to NOT sync. I need it to sync as default. If I manually create a new folder then it DOES automatically set to sync.
I have copied the extended attributes found on the syncing folders but it still will not set to sync:
So I created 'General Information' through Node js and 'Hello' was created manually. You can see the different symbols.
This is the what I see when I look at the folders permission and extended attributes via the Terminal... they are identical (after creating the folder with Node js I then get the extended attributes of the syncing parent folder and apply these attributes to the newly created folder).
Can anyone help here? I really need to be able to do this for the app to work as it needs to! I guess I just need to know the exact requirements for creating the folder in the first place that would enable it to sync as default like the manually created one - I honestly didn't foresee this being an issue and it's holding me up badly!
I've been in touch with Dropbox Help who were, well, not much help at all!