Discussions
-
PHP file download returns page not found
using cURL in PHP to call the /files/download api. Dropbox returns "Error (4xx) We can't find the page you're looking for." How to troubleshoot? I think I am using the API correctly. function getTextFile( $token ) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://content.dropboxapi.com/2/files/download");…
-
Is there a public token for demo code?
Does dropbox have a publicly accessible playground? When I post code to illustrate a problem I am having I would like to post code that others can run and get the same results I get. But I can't do that because I need to obscure my access token. thanks,
-
error using PHP file_get_contents to call list_folder api
any examples available using the PHP file_get_contents function to call the files/list_folder api? ( I am able to use curl from PHP to call the dropbox apis. But my code fails on one PHP server but works on another. Would like to see if file_get_contents will work. ) Here is my code. There error I am getting is "failed to…
-
downloading file with binary data. Not receiving entire contents of file.
javascript, running in the browser. using XMLHttpRequest and the content.dropboxapi.com/2/files/download endpoint to download a zip file from my dropbox folder. I am receiving the file. But the last 100 or so bytes are missing. Why am I not receiving the entire contents of the file? I get the size of the file from the…