Automatic files download from a Folder
My customer want to monthly download automatically, the files contained in folders (one per month). To do it, he wants to write a job and need some support.
This is the request coming from the Customer:
We need the list of strings of API calls in order to perform files operations (download mostly). The idea is that our SAS infrastructure will interface directly with site (passing credentials), point to a specified folder and get some files contained in the folder”.
Would you kindly provide to me the answer that I can forward to Customer Application team? Thanks.
-
If I understand correctly, you have a fixed folder from which all files have to be downloaded on a fixed time interval. In such a case you would need to call:
1. List folder Items - to get all items in the folder (https://developer.box.com/en/reference/get-folders-id-items/)
2. For each of the file, get file information (https://developer.box.com/en/reference/get-files-id/)
3. Use the download url to download the file.
In case you have sub-folders you would need to follow the same for each of the folder.
サインインしてコメントを残してください。
コメント
1件のコメント