cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does server close the connection once download a file over 90 minutes?

Does server close the connection once download a file over 90 minutes?

Adam L.26
Explorer | Level 4

Hi,

 

I have a 50GB file in my dropbox but I can't download whole file with download API over a month, the connection always been closed after 90min but my download process works fine on other files (only few GB)

 

Is it any limitation about the connection? maybe it will automatically closed after 90 min or something else? Thanks.

1 Reply 1

Greg-DB
Dropbox Staff

HTTPS connections can time out, so to download large files, I recommend using "Range Retrieval Requests" to download in pieces. For example, issuing such a request to download the first 1000 bytes of a file using /2/files/download would look like:

 

curl -X POST https://content.dropboxapi.com/2/files/download \
    --header "Authorization: Bearer <ACCESS_TOKEN>" \
    --header "Dropbox-API-Arg: {\"path\": \"<FILE_PATH>\"}" \
    --header "Range: bytes=0-999"
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?