Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8931647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:09:33+00:00 2026-06-15T09:09:33+00:00

I have very basic and quick question. I am using PHP Dropbox API class

  • 0

I have very basic and quick question. I am using PHP Dropbox API class written by Ben Tadiar. I use $object->metaData("/"); to get file list from dropbox. The data return does not include URL to download/preview of the file. So I have to call $object->media() method for each file to get the URL which results in lot of delay specially when file list is too long.

Is there anyway to get the download link along with filelist ???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:09:34+00:00Added an answer on June 15, 2026 at 9:09 am

    Since I could not find any way to get download URL along with file list. The work around would be to list all the files without calling $object->media() on each item. Instead, call this method to the file that user selected to download.
    A simple quick function would be something like this:

    function getDBDownloadUrl($Path){
        try{
            $mdb = new MyDropbox();
            $download = $mdb->media($Path);
            $download = $download['body'];
            return $download->url;
        }
    
        catch(Dropbox\Exception $e){
            return array("error"=>1, "message"=>"There was a problem accessing file download URL from dropbox");
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

quick and very basic newbie question. If i have list of dictionaries looking like
I have very basic question about the use of high performance cluster in our
I have a very basic API in my app which also has an index
I have a very basic data class that is subclassed from NSObject. I declare
I have just create a very basic Dynamic Data web application using Entity Framework,
I have a database to store people's quick links. This is a very basic
Hi I have very basic question. I have view like below: def view1: dict
I have very basic question related to tablespaces. When I was creating a user,
I am very new to Facebook applications and have very basic questions. I use
Maybe my question is very basic, but regretfully I have very little experience with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.