Alternative Download File Name
Hope somebody can help me, I am working on a PHP site and need to be able to generate and set a unique filename on a download of a file from the Box API. I am trying to use the 'download' parameter to change the file name but as the site origin is different It will default back to the filename from box.
Has anyone else needed to do this or know of a work around.
Any help will be appreciated. Thanks.
-
One way to do this would be changing the file's name to the alternative one using the Update File Info endpoint, downloading the file, and then setting the file's name back to the original one.
サインインしてコメントを残してください。
コメント
1件のコメント