Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

How to download a file from the box using Box API for Python

Answered
New post

Comments

1 comment

  • mwiller

     There are two primary methods available for downloading a file:

     

    file.content()  # returns the file contents as `bytes`
    file.download_to(writeable_stream)  # write the file contents to a stream

    Depending on what you want to do with the file contents, one of these should work for you.

    0
    Comment actions Permalink

Please sign in to leave a comment.