Download And Upload box file through API

Hi,
How to download file from BOX through API .
When i tried this so its installed only one particular file but i want to install all the file one by one which is available in the folder.

Thanks in Advance!!

@Riya_Sharma

As the API of the box allows Download file API, which allows only one file
so if you can maintain a file id in a list then you can iterate it and download multiple files

But you can also do with another option using SDK and CLI options which you need to write a C# code

https://developer.box.com/guides/downloads/folder/

Hope this may help you

Thanks

@Srini84
Can you pls show the code for this like how to maintain a file id in a list
How to download multiple file through API?

Hi @Riya_Sharma

Maybe this video could help you also: UiPath | Download File From URL | How to download file from website | Download File from Browser - YouTube

Best regards
Mahmoud

@Riya_Sharma

I don’t have box access so can’t show you the code
But you can refer below link to get the list of items in a folder

https://developer.box.com/reference/get-folders-id-items/

Hope this may help you

Thanks

@Srini84
I have tried the same but it’s doesn’t work…:frowning:
If possible can you just code this for better understanding
May be i haven’t code properly…
Small help Appreciated…

Hi @Dawodm
This video is also explain the steps to download only one particular file.
But I want to download all the file which all present in the folder.

Then you need to get the URLs for all files. How? I don’t know. I need more information about your problem so I could help you.

@Dawodm

I want to know that How to download all the file in the folder from BOX through API .
When i tried this so its installed only one particular file from folder but i want to install all the file one by one which is available in the folder.

Many Thanks!!