Welcome to the new Box Support website. Check out all the details here on what’s changed.

Uploading Files and Folders to Box

New post

Comments

1 comment

  • Murtza

     To upload a file to a specific folder, you have to provide the id for that folder. Based on your example, you would have to know the id for "SubFolder1" to upload a file there. 

     

    You can find the folder id for "SubFolder1" by using the Search endpoint. You can limit the search results by specifying "Folder1" as the value of the ancestor_folder_ids parameter, which will limit the results to only items in "Folder1". You can also limit the search results to only folders by setting the type parameter to folder.

    0
    Comment actions Permalink

Please sign in to leave a comment.