We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
hillmw6612
3 years agoNew member | Level 2
I need to have a unique file path. How do I achieve that?
I'm looking for a dropbox location like:
//computerName/shareName/directoryName/
everything I have seen shows the dropbox like http://www.dropbox.com/sh/..........
Thanks for your h...
- 3 years ago
hillmw6612 wrote:
So we would like to have an address like: //computerName/shareName/directoryName/ so its not discrete for each user to embed into the application.
That's not possible by default as every user will have their Dropbox folder located in a different location, typically within their user profile, and there is no variable set which includes that location.
The path to their folder is stored in a JSON file within their user profile. On Windows, it would be C:\Users\[username]\AppData\Local\Dropbox\info.json, so you could pull that information programmatically for each user.
The Dropbox folder is also not shared so there is no UNC path to it, though I suppose there's nothing stopping you from sharing it for each user. If you take that route, make sure you set the security correctly so you're not giving other people access.
Rich
3 years agoSuper User II
hillmw6612 wrote:
I'm looking for a dropbox location like: //computerName/shareName/directoryName/
everything I have seen shows the dropbox like http://www.dropbox.com/sh/..........
Can you be more specific about what you're trying to accomplish? By default, a person's local Dropbox folder is stored in their user profile on their computer, such as C:\Users\[username]\Dropbox on a Windows computer, though it doesn't have to be stored there. The HTTP link you posted is what gets generated by a shared link.
What, exactly, are you trying to accomplish?
- hillmw66123 years agoNew member | Level 2
Rich,
Here is the why ...
Inside our application we write to this location. But another user on another computer using the application also writes to this location.
So we would like to have an address like: //computerName/shareName/directoryName/ so its not discrete for each user to embed into the application.
Mike
- Rich3 years agoSuper User II
hillmw6612 wrote:
So we would like to have an address like: //computerName/shareName/directoryName/ so its not discrete for each user to embed into the application.
That's not possible by default as every user will have their Dropbox folder located in a different location, typically within their user profile, and there is no variable set which includes that location.
The path to their folder is stored in a JSON file within their user profile. On Windows, it would be C:\Users\[username]\AppData\Local\Dropbox\info.json, so you could pull that information programmatically for each user.
The Dropbox folder is also not shared so there is no UNC path to it, though I suppose there's nothing stopping you from sharing it for each user. If you take that route, make sure you set the security correctly so you're not giving other people access.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!