We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
magleft
3 years agoExplorer | Level 3
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!
- ЗдравкоLegendary | Level 20
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
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf 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!