Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Priya M.
8 years agoExplorer | Level 4
Dropbox API for search in PHP
Hi,
I'm trying to search for a file uploaded in my Dropbox APP using the following code:
$data = json_encode(array("path" => "/", "query" => $this->filename, "mode" => "filename"));
$...
Priya M.
8 years agoExplorer | Level 4
Hi,
I didn't understand how the file data is returned as a stream. As far as I can see, it returns a normal read data. Can you please elaborate on this with an example?
I didn't understand how the file data is returned as a stream. As far as I can see, it returns a normal read data. Can you please elaborate on this with an example?
Greg-DB
Dropbox Community Moderator
8 years agoApologies, my reply was a little misleading. It seems CURLOPT_WRITEFUNCTION doesn't return a stream object exactly, but it's a way for you to supply a function that will be called multiple times to read data off the reply a piece at a time.
In any case, this is more about using curl in PHP now, which is outside my area of expertise, so you may want to refer to the documentation or support community for PHP/curl for more information on using that.
In any case, this is more about using curl in PHP now, which is outside my area of expertise, so you may want to refer to the documentation or support community for PHP/curl for more information on using that.
- Priya M.8 years agoExplorer | Level 4
Thanks for your response.
I will do the PHP part myself. I got confused by your incorrect reply previously and started searching more in that direction.
Thanks again for your help.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!