Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
novotny
4 years agoExplorer | Level 4
backend Java process to read a shared folder
Hi,
We need a java workflow to scan the contents of a shared folder on a daily basis. I have downloaded the examples and looked at AuthorizeExample which I ran with the parameters "test.app tes...
novotny
4 years agoExplorer | Level 4
Thanks for the information. Below is a screenshot
The existing code:
ListFolderResult result = client.files().listFolder("");
while (true) {
for (Metadata metadata : result.getEntries()) {
System.out.println(metadata.getName());
}
if (!result.getHasMore()) {
break;
}
result = client.files().listFolderContinue(result.getCursor());
will write:
Jason Novotny
MPS
JasonNovotnyFingage
jason.novotny@fingage.com’s files
Get Started with Dropbox.pdf
But I wish to get access to the folder "AffinityInvestment". Can you please help me with the steps I need to do?
In particular how do I "set your id as a user and the space (team folder) where your target folder reside in (aside of exact path - properly formatted)." do this in Java?
Thanks, Jason
Здравко
4 years agoLegendary | Level 20
Bad "news" - your folder is out of your home. 😕 You need to use team features.
First make sure you have selected yourself in the client object using asMember. Next select proper root (your team folder) using withPathRoot. Next you can list it using empty string (the folder appears to be the root, not a subfloder there). For more basic info take a look here.
Good luck.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!