Skip to main content
Box Employee
May 23, 2025 11:32 AM UTC
Question

Find file Id from file path

I could not find any functions to get Id from a file path (eg. /level1/level2/level3/file123.ext).  I guess I can use FoldersManager/FilesManager and walk down from Id = 0, or use SearchManager.QueryAsync and walk up the Parent field.  But these seem really clumsy.  Is there a better way?