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

downloading and uploading files - python

New post

Comments

1 comment

  • Alex Novotny

    Hello, 

    I believe you want to download the file into an output like this. 

     

    file_id = '11111'
    
    # Write the Box file contents to disk
    output_file = open('file.pdf', 'wb')
    client.file(file_id).download_to(output_file)
    0
    Comment actions Permalink

Post is closed for comments.