Downloading files from Box
we are using box to share files with vendors. We usually have around 18 CSV files to be shared between vendor and our systems. We would like to do this as a automated process. Any suggestions on file transfer/ download automation. Is there any API avaialble for the same ?
-
There is the download API https://developer.box.com/reference#download-a-file and then there is the shared link API https://developer.box.com/reference#get-shared-link. You will have to build around that, depending upon if you want to share the original file or box shared version of it. Say your CSV files were in one box folder, then you could get a shared link to it using the API and send off that shared link via email to your vendor. If your CSV files are spread out in different folders, but have some pattern in the name, you could use the search API, which will return results that you can filter on. Then either copy them to a temporary folder using the copy API or loop on them individually and get shared link for each and then email that.
サインインしてコメントを残してください。
コメント
1件のコメント