We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Deon B.1
10 years agoNew member | Level 1
Issue : api add method in codeigniter library
curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead
and
stdClass Object ( [error] => stdClass Object ( [file] => Expecting a file upload ) )
i am fetch above error when i add file local to dropbox so can you help me?
2 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Hi Deon, the first error is just about how you're using curl, so I can't offer insight on that.
The second error sounds like it's due to a recent issue that we're looking into. (You can find more information here.) We do highly recommend using /files_put instead though, if possible.
- Greg-DB10 years ago
Dropbox Community Moderator
The /files (POST) endpoint should be working again now. Please let me know if you're still seeing any issues.
About 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!