Questions tagged [download-manager]

A download-manager is often used for handling long-running downloads, and might support pausing, interrupting and resuming.

The download manager will conduct the download in the background, taking care of HTTP interactions and retrying downloads after failures or across connectivity changes and system reboots.

465 questions
0
votes
0 answers

After download a document download manager keep showing toast "Download Failed" even though it successfull

I create a download manager for downloading a document but it always shows the toast download failed. Even if I haven't set the toast for download complete, it still exists and the document that I download was successfully downloaded. Here is my…
Ratri
  • 337
  • 1
  • 7
  • 21
0
votes
2 answers

Download Image In WebView ios

i am making app with Xcode using my Wordpress Site as backend , and I am using WebView , I have download html code in my site , now when i click on download button in ios app it just open full image but not downloading the image, in android app I…
Chand Ninder
  • 161
  • 5
  • 19
0
votes
2 answers

Add HTTPS support to download manager

I found a simple download manager here. It can download from HTTP sites, but doesn't support HTTPS sites. How can I modify it to support HTTPS links?
Dennis
  • 1
  • 1
0
votes
1 answer

Save downloaded file to Android DIRECTORY_DOCUMENTS

I'm new to android, and i want to save a Pdf file i downloaded to the "DIRECTORY_DOCUMENTS" , because when i save to downloads folder, it didn't shows app in my app. Here is the code (it works when i change to other directory , and put my pdf in…
Krova
  • 61
  • 1
  • 4
0
votes
0 answers

Wget style dl manager - client side

Is it possible to write a barebones client side download manager - like wget - with javascript? I found this anwer: Is there any javascript (and client-side) wget implementation? That states it most likely is not possible. But most likely is not the…
user1584421
  • 3,499
  • 11
  • 46
  • 86
0
votes
1 answer

Downloading a file using PHP through the IDM (Internet Download Manager)

I'm working on a web page where a user can download a file but only after accepting the license, so I made the process using PHP to check if the user checked the license and to not reveal the file's URL, the code works just fine as I wanted…
Mousa Alfhaily
  • 1,260
  • 3
  • 20
  • 38
0
votes
0 answers

How to retry/resume broken downloads in Firefox WebExtension?

I am looking for a way to retry/resume broken downloads in a WebExtension. I know there is the downloads.resume() method, but that only works for paused downloads and not broken ones caused by network failures. In the download manager, there is…
0
votes
0 answers

Autodownload for firefox in selenium using python

I want to autodownload the file when clicking on particular link. But, here pop up window asking for open and save option gets opened in selenium with firefox browser. from selenium import webdriver profile =…
abhi1610
  • 721
  • 13
  • 28
0
votes
1 answer

Why does a change in ISP affect the download progress?

I was downloading a file on my pc using my mobile hotspot from Sim_1 and 50% of the download was completed. When I changed the mobile data source to Sim_2, the download began from the beginning. :( Is this problem caused by the change in ISP or…
Surya
  • 971
  • 2
  • 17
  • 30
0
votes
1 answer

How to show download complete pop up with ok button

i made app with webView in Android Studio , my app contains all images so i have also implemented download button in my app , but when someone click on download button it just download the image , i want to show pop up when download is Finished ,…
Chand Ninder
  • 161
  • 5
  • 19
0
votes
1 answer

Download File using download manager and save file based on click

I have my download manager, and it work perfect if I try to download a file. But I have a problem. I have 4 CardView in my activity and I set it onClickListener, so when I click one CardView it will download the file. Here is the code to call the…
0
votes
1 answer

Android : How to pause and resume Download using HttpUrlConnection?

I want to make a download manager for android I want to know how can I add pause and resume functionality I am using HttpUrlConnection class of android for getting the data.I also want to know how can I access the InputStream which I get from…
0
votes
0 answers

How downloading file in small chunks on different threads increase the download speed?

I am thinking of making a download manager for Android.One of the functionality I want is to Download a file in small chunks on different threads for increasing download speed.I want to know how can this increase download speed and in how many parts…
Dhruv
  • 1
  • 1
0
votes
1 answer

Android clear download manager history without deleting file

I use the download manager to download a file and install it. I'm curious if there is a way to remove it from the downloads history without actually deleting the file from disk? As far as I know there is no callback to tell if the user installed…
mocode10
  • 589
  • 1
  • 6
  • 23
0
votes
1 answer

Opening a file downloaded by download manager

I am using the DownloadManager to download files from a Webserver. First I create the DownloadManager.Request, add the headers to it, add the data to it (title, description, notification, MimeType) and then enqueue it. After that I wait until the…
Anton
  • 67
  • 2
  • 14