We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

magleft's avatar
magleft
Explorer | Level 3
4 years ago
Solved

Dropbox and Lazarus

Hello.

I am relatively new to programming. I have created an application with lazarus. For its best operation I would like through the link to be able to download and upload a file. So far I can download it and save a copy on my computer. I would like to ask if it is possible to upload the file to dropbox via the link. If so is there an example with the required parameters? If not is there a library or add-on for lazarus?

Thanks

  • Hi magleft,

    Unfortunately your environment language (Pascal) is NOT supported directly by Dropbox. Yes, using regular web queries you can download files pointed by URLs like shared links.

     


    magleft wrote:

    ... I would like to ask if it is possible to upload the file to dropbox via the link. ...


    Unfortunately upload to a link (I suppose you mean file request) isn't so easy, cosa it's not a simple request. Such types of upload targets to Web interfaces (browser) and completely unsupported by Dropbox by any other way.

    You can look around for some community driven library (SDK) targeting Pascal. Another way is direct driving calls to Dropbox API. In other words to do something like your own SDK (no necessary literally). Using Lazarus utilities/libraries for web calls you can perform all needed API calls, like any SDK would do. Take a look on the user API list. You can test/prototype your calls using API Explorer. 😉

    Happy diving in programming world!

1 Reply

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    4 years ago

    Hi magleft,

    Unfortunately your environment language (Pascal) is NOT supported directly by Dropbox. Yes, using regular web queries you can download files pointed by URLs like shared links.

     


    magleft wrote:

    ... I would like to ask if it is possible to upload the file to dropbox via the link. ...


    Unfortunately upload to a link (I suppose you mean file request) isn't so easy, cosa it's not a simple request. Such types of upload targets to Web interfaces (browser) and completely unsupported by Dropbox by any other way.

    You can look around for some community driven library (SDK) targeting Pascal. Another way is direct driving calls to Dropbox API. In other words to do something like your own SDK (no necessary literally). Using Lazarus utilities/libraries for web calls you can perform all needed API calls, like any SDK would do. Take a look on the user API list. You can test/prototype your calls using API Explorer. 😉

    Happy diving in programming world!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 6 hours ago
412 Following

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 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!