One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Neon20
8 years agoExplorer | Level 4
Read folder and download files from URL others users
Someone gives me a public URL that is a folder with images. How i can read the folder and download the files that contains? URL example: https://www.dropbox.com/sh/iccq7cc0xtvue9t/AADXnwDSYERNKOR...
Gonzo345
8 years agoHelpful | Level 5
I can't try it here and now, but I would perform a GetMetadata, list all links for all the files and then perform a usual download changing the last character (the =0 by =1, so it forces the download).
I don't know if that replies to your question...
- Neon208 years agoExplorer | Level 4Can expose a example, please.
- Gonzo3458 years agoHelpful | Level 5
By now I could just get the "whole" folder name. Let's see if Greg or another Dropboxer replies, but I did it this way:
//We obtain the filename on Dropbox to save it later var taskDescargar = Task.Run(async () => await dropbox.Sharing.GetSharedLinkMetadataAsync(link)); var result = taskDescargar.Result; string nombreArchivo = result.Name; carpetaLocal = carpetaLocal + @"\" + nombreArchivo; //We assign the name using (var wclient = new WebClient()) { wclient.DownloadFile(rutaOrigenOk, carpetaLocal); }
I'm actually getting the "FOTOS PANORAMA DESDE EL PUENTE.zip" file, which is basically the compressed folder.
P.S: done on C# .NET
- Neon208 years agoExplorer | Level 4Can put the example in Java please? I can't find GetSharedLinkMetadataAsync.... thanks
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 6 hours ago
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!