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
1
vote
1 answer

Youtube-dl download to client browser directly

I want to use youtube-dl exe file in Windows for downloading the videos to the client's browser with Golang Web App. I have a page that contains an input for the website url (For example a youtube url) and I want to call youtube.dl exe file with…
akinKaplanoglu
  • 728
  • 2
  • 8
  • 26
1
vote
0 answers

DownloadManager haves a huge delay in starting download

I'm using this source code to download a file in the public and external "downloads" directory of android. private void download(String url){ if (ActivityCompat.checkSelfPermission(SectionManager.getInstance().getCurrentActivity(),…
NullPointerException
  • 36,107
  • 79
  • 222
  • 382
1
vote
0 answers

How a HTTP client can benefit from multipart ranges?

I can't get my head around multipart ranges usage. Sounds interesting but in what way it is beneficial? How a client can use such a response? and how content-length became 804?? (5−0)+(15−9)+(3587−3147)+3 = 454 $ curl -X GET -H "Range: bytes=0-5,…
pouya
  • 3,400
  • 6
  • 38
  • 53
1
vote
1 answer

Getting "DownloadManager.STATUS_SUCCESSFUL" even after download not successful (when insufficient space)

I am always getting COLUMN_STATUS as STATUS_SUCCESSFUL even it fails due to insufficient space: @Override public void onReceive(Context context, Intent intent) { if (intent == null) { Utils.log(TAG, "Intent is NULL"); …
1
vote
0 answers

Is it ok to change the chunk size of a download stream in the download loop in python-requests? And how could I iter_content more efficiently

Im trying to Build a downloader application and i need help with request library here. while total_bytes != n_bytes_read: header = {"Range": "bytes={}-{}".format(n_bytes_read, total_bytes+1 )} r = requests.get(self.url,…
Charan Sai
  • 13
  • 5
1
vote
0 answers

implement download notification file ionic 3

I have the following dilemma, I am working with Ionic 3 and I have a class that downloads a file from a URL that brings me a REST service. This download the file without problems but I have not known how to implement or I have not searched correctly…
1
vote
1 answer

how to download large files chunk by chunk using large files using angular.js and java

We have web application with client in agnular.js and server in java spring. I am working on functionality of downloading this log file i.e. logs.tar from client. Currently we are using blob to download. Our issue is in case this log size becomes…
questp
  • 133
  • 1
  • 3
  • 11
1
vote
0 answers

Enable file downloads in wordpress only for logged in users from another platform?

My client has a Wordpress website and he wants to upload a specific catalogue so customer can download it only when they log in with their username and password from another managing platform called Handshake. He uses this platform to manage his…
1
vote
1 answer

Vuforia plugin disappears on unity

On my Mac, I noticed every time I open my AR project which uses Vuforia, the Vuforia plugin disappears and I have to go to the unity download page and redownload the Vuforia sdk. Any suggestions on why this is happening or has anyone had this…
1
vote
1 answer

How can I download this model from colaboratory

model.save("fruits" + ".h5") print "Model saved" How can I download this model from google colaboratory?
1
vote
1 answer

Getting HTTP range right, so that Down Them All works

I built web app which is supposed to serve Recorded TV as a download (For the folks yelling out that that is illegal, I can tell them: in Germany it isn't, if you do it right). You can have a look at the project at http://niklasfi.de:8080. Now about…
niklasfi
  • 15,245
  • 7
  • 40
  • 54
1
vote
0 answers

Reusing HttpClient for multipart download

I'm reusing HttpClient for all my download task because I always saw in SO that I should reuse httpclient for everything. But I'm getting this exception Unhandled Exception: System.AggregateException: One or more errors occurred. --->…
1
vote
0 answers

Trigger and Monitor a Download in Chrome Extension without having the direkt link

I have a given website with lazy loading function, which loads 20 new items when you scroll down the page. Each of them has a download button (triggered by javascript in angular). Now I wrote a function which scrolls the whole page down till there…
Suisse
  • 3,467
  • 5
  • 36
  • 59
1
vote
0 answers

Resume downloads on iOS between lifecycles

I am trying to make sure that if my background download on iOS stops for whatever reason (app is killed by the system, stopped by the user from the multitasking screen, crash?) will continue in the next lifecycle. So far I have found that the…
1
vote
2 answers

Confirm download from S3 server to user

We are using the s3 server to allow users to download large zip files a limited number of times. We are searching for a better method of counting downloads that just counting button clicks. Is there anyways we can give our user a signed url to…
Ruttyj
  • 853
  • 2
  • 11
  • 18