Skip to main content
Question

Could we use Box Drive to get a path given a folder_id/file_id?

  • May 22, 2025
  • 0 replies
  • 19 views

Forum|alt.badge.img

I would like to access files and folders in Box using R (or Python). However, I work in a corporate environment where we do not have access to create Box apps (IT locks this down).

However, we are encouraged to use Box Drive. One of the problems I encounter with Box Drive is that paths to shared items are not always consistent from account to account. As you know, folder_id and file_id remain consistent across accounts.

Could it be possible to have command-line functionality bundled with Box Drive (both MacOS and Windows) that, given a file_id or a folder_id, would return the path on the local account's Box Drive?

Something like:

> box_drive_path --folder_id 123401873366

That would return something like

C:\Users\GWashington\Box\very\important\folder

or

very\important\folder

I discuss the scenario a little more here: https://r-box.github.io/boxrdrive/

Thanks!