We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - 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 help.
Mike
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.
- RichSuper 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?
- hillmw6612New 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
- RichSuper 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.
- MeganDropbox Staff
Hi hillmw6612, thanks for posting here!
It's not entirely clear to me, if you wish for the computer path to change, or the website path itself. Can you clarify?
Do you use a shared folder, or a shared link on your end? If you also want to walk me through the process you follow, and what you wish to achieve, I'd appreciate it.
Keep me posted!
- hillmw6612New member | Level 2
Megan,
The dropbox location is like: http://www.dropbox.com/sh/..........
but in my app I need a location like: //computerName/shareName/directoryName/
Is this possible to get?
Mike
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!