I only need to add this Authorization header but it makes me crazy.įor Google Drive, we can pass the access token directly in the file download url so it works great. I have searched for a direct download link in Dropbox and Box API but it seems that nothing is available. įor some privacy reasons, I can't store temporary files on my webserver.įor some userfriendly reasons, I don't want to download the file with Ajax request. It works but on big files, my script failed due to memory limit (Curl is storing the file in memory while the user is downloading the file in his browser). Without having to share the file on DropBox / BoxĪctually, I have a PHP script on my server that make a Curl on the file url with the access token passed throught the Authorization header. Without being user authenticated in the browserģ. Either way, youll have a link like:To get a direct download link. Download a file directly from Dropbox / Box serverĢ. le you want to share from your Dropbox folder,right-click on it, and selectCopy Dropbox Link. I already have an access token to use these API.ġ. I'm developing a web application using PHP, Dropbox API and Box API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |