Hello sir,I want a dropbox api php sdk that create and write file directly to dropbox without localpath.
https://www.dropbox.com/developers/documentation/http/documentation#files-upload 😉
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.