sookasa / box.py

Python client for Box
43 stars 25 forks source link

download part of file #23

Closed sennoy closed 7 years ago

sennoy commented 10 years ago

I've added download_bytes function, that allows to download only specified part of file if needed.

tals commented 10 years ago

Hmmm. You can add this functionality to the existing download_file() function.

Also - stream=False in your download_bytes, which will make requests download the entire thing before returning :P

sennoy commented 10 years ago

ok, I'll move it to download_file() :) thanks.