Bug #59
closedSome file downloads are named downloadfile.bin instead of the correct name
0%
Description
This is caused when the download link contains variables that inform a script on the server which file to download. Android's download manager isn't smart enough to figure out what the file name is, so it calles it `downloadfile.bin`.
Downloading from this example link produces an example of this behavior:
http://download.cnet.com/Avast-Free-Antivirus/3001-2239_4-10019223.html?hasJs=n
Resolving this behavior might be difficult without totally replacing Android's download manager with custom download code and requesting full storage write permissions.
Updated by Soren Stoutner about 8 years ago
- Status changed from New to Closed
Android's `WebView` has difficulty discovering the name of some file downloads before it passes them to the `DownloadManager`. Specifically, it reports a null `Content-Description` header. An `AlertDialog`has been implemented that displays the proposed file name before the download begins, which if unknown is set to`downloadfile.bin`. This allows the users to specify the file name if desired. A future revision to `WebView` could resolve this misbehavior.
Updated by Soren Stoutner over 5 years ago
- Priority changed from 2 to Next Release