Hi James,

Android DownloadManager uses HTTP range-request when a download is being 
paused or broken. So, Kindly make sure, the server supports range requests 
for the file you are requesting.
And if possible have a proxy app installed if your device is rooted and get 
the network logs, so that you can know what is the actual request and 
response after it is paused.

Thanks,
Deepak

On Tuesday, 21 April 2015 06:52:06 UTC+5:30, Zhihong GUO wrote:
>
> Hello all,
>
> I want the download manager to download something from a server, here are 
> the http response message from server for the download request from android 
> download manager:
>
> *HTTP/1.1 200 OK*
>
> *Date: Mon, 20 Apr 2015 12:49:06 GMT*
>
> *Server: Apache-Coyote/1.1*
>
> *Set-Cookie: proxyIn_com_pphom=mspvr363; path=/; domain=aaa.bbb.com 
> <http://aaa.bbb.com>; expires=Mon, 20-Apr-2015 12:59:06 GMT*
>
> *Cache-Control: public, must-revalidate, post-check=0, pre-check=0*
>
> *Content-Description: File Transfer*
>
> *Content-Disposition: attachment; 
> filename="6d7a7ea9-e89f-4916-8c82-fc342c677cbf"*
>
> *Expires: 0*
>
> *Content-Transfer-Encoding: binary*
>
> *Accept-Ranges: bytes*
>
> *Content-Type: application/octet-stream*
>
> *Content-Length: 5037313*
>
> *Set-Cookie: PLAY_FLASH=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; 
> Path=/plus/plus_expo/*
>
> *Set-Cookie: PLAY_ERRORS=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; 
> Path=/plus/plus_expo/*
>
> *Set-Cookie: PLAY_SESSION=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; 
> Path=/plus/plus_expo/*
>
> *P3P: CP="NOI"*
>
> *Connection: close*
>
>
>
> The current issue is, when there is error cause the download broken, the 
> Android download manager didn't resume the download at broken point when 
> the error fixed. I know that the downloadmanager should support resuming 
> download, so it seems the server side has configuration issue. 
>
> Any one can give comments?
>
>
> Thanks,
>
>
> James
>
>
>  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to