cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right 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: 
1
Ask
2
Reply and help

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

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

Greg-DB
Dropboxer

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"
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?