Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

hb_'s avatar
hb_
Helpful | Level 5
7 years ago

Upload A File Via Curl In C++

How to create a program that takes a file from my computer(image, audio, video or any other file type) and upload it to my dropbox account via curl in c++.

I found this:
https://riptutorial.com/dropbox-api/example/1355/uploading-a-file-via-curl-in-cplusplus

But this code does is crette a new file in my dropbox account in a supplied path.

I want to take a file from my computer and upload it.

Should I modidy the code given in that link ar do any other thing to accomplish my goal?

3 Replies

Replies have been turned off for this discussion
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    7 years ago

    hb_, the Dropbox application do exactly what you are looking for. What exactly isn't enough?

  • hb_'s avatar
    hb_
    Helpful | Level 5
    7 years ago

    I mean, a C++ program:grin:

    Just like I have successufully used curl in a c++ program to download files tomy computer, I want, this time, to take files from my pc and upload it to my dropbox

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from 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!