Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello sir,
I want a dropbox api php sdk that create and write file directly to dropbox without localpath.
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation and tutorials here.
Dropbox doesn't offer resources or an official SDK for PHP in particular, but you can use a third party library, or you can call the HTTPS endpoints themselves (such as the upload endpoint that Здравко linked to) using whatever HTTPS client you prefer.
I need a way using an api where I send file data, name, size and content type and it will create file directly in Dropbox folder path.
Upload method will upload local file directly in dropbox but I dont want that method to upload ready file.
I'm not sure I understand your message. I don't know what you mean when you say you "dont want that method to upload ready file".
Anyway, the upload functionality discussed earlier does allow you to upload file data of a particular name, size, and type directly to Dropbox. Exactly where you get the data is up to you. You can read it from memory or the filesystem, or generate it on demand. Regardless of the source, to upload it, you would supply it in the request body of the upload call.
Hi there!
If you need more help you can view your support options (expected response time for a 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!