Comments
-
this PHP code works on a server running PHP 7.0.27. It is failing on PHP 5.6.15.
-
Thanks for the help Greg. I run this code on a PHP hosting site and it works. Run it on our production ZEND PHP server and it fails. So I do not know what to do. For now I am going to have the hosting site get the files from dropbox. Then use cURL to send the data from the hosting site to the production server. I ran the…
-
I was not setting the responseType of the xhr object to 'arraybuffer'. Once I did that the download worked. // ---------------------- dropbox_GetFile_http ------------------------ function dropbox_GetFile_http( path, token ) { var xhr = new XMLHttpRequest( ) ; xhr.onreadystatechange = function( ) { if ( xhr.readyState ==…