Download programically file
Hi all good people,
i have problem with download programically file. I used in PHP file_put_contents but the output was some number.
I need It please in PHP, bud I dont know how to do.
Thank you for your time.
-
Hi Ales
I assume you are using this endpoint? https://developer.box.com/reference/get-files-id-content/
This will return a 302 with a Location header telling you where to download the file from. Since we don't have a PHP SDK you need to do this in your application code.
Hope this helps
Peter Christensen, Platform Solutions Engineer, Box
Post is closed for comments.
Comments
1 comment