Question

I am using DownloadManager to download files. I am getting 492 status when download fails. However I can download the same file from any browser. The error is frequently coming for some files. After searching about the status I got that this error comes when the device does not have enough memory to store download file, but on my device I left with 2 GB of storage. Can some one please help me to work around this problem.

Était-ce utile?

La solution

Hi think I found the solution. The downloading was getting failed because of special character in title. I removed the special character and then download was working fine.

Autres conseils

Another possible source of the problem, which I think is more general, is that destination folder is not exists (and DownloadManager not always creating it for you - it is platform dependent for some reason).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top