Questions tagged [resume-download]

Tag for questions regarding resuming an interrrupted download - for example, using HTTP Range and Content-range headers.

Tag for questions regarding resuming an interrrupted download - for example, using HTTP Range and Content-range headers.

74 questions
114
votes
14 answers

Resumable downloads when using PHP to send the file?

We are using a PHP scripting for tunnelling file downloads, since we don't want to expose the absolute path of downloadable file: header("Content-Type: $ctype"); header("Content-Length: " . filesize($file)); header("Content-Disposition: attachment;…
Fabian
78
votes
3 answers

How to resume interrupted download automatically in curl?

I'm working with curl in Linux. I'm downloading a part of a file in ftp server (using the -r option), but my connection is not good, it always interrupts. I want to write a script which resume download when I'm connected again. I've used this…
Bili the big
  • 807
  • 1
  • 6
  • 4
27
votes
3 answers

determine if server supports resume get request

How does one determine if a server supports resuming a file transfer or get request? My thoughts were to set the header to start the get request at byte "2" instead of 0, and immediately closing the http request if that gave the proper result but I…
CQM
  • 42,592
  • 75
  • 224
  • 366
20
votes
2 answers

Resuming interrupted s3 download with awscli

I was downloading a file using awscli: $ aws s3 cp s3://mybucket/myfile myfile But the download was interrupted (computer went to sleep). How can I continue the download? S3 supports the Range header, but awscli s3 cp doesn't let me specify it. The…
hraban
  • 1,819
  • 1
  • 17
  • 27
9
votes
2 answers

Resume Download not working in android

This code for resuming download is not working properly in Android, although it works fine in a Java application. Here I am trying to download a zip file, and it will resume the download, but the net result is an invalid zip file. …
Lijo Joy
  • 261
  • 2
  • 8
8
votes
3 answers

Don't download an existing file with axel

I have an script that reads some urls and get them to axel to download them. I want stop script on sometimes and resume it further. Axel can resumes file downloading. So if I press Ctrl+C when downloading, the next time, it starts from the resume of…
Babak Mehrabi
  • 2,155
  • 4
  • 23
  • 24
6
votes
0 answers

Webclient Resume download with Async

I am implementing multiple file download progress in my WPF application. I need to maintain the downloaded data and resume the download if the internet fails during download. For example, during the download progress if the internet fails i need to…
cheran
  • 473
  • 1
  • 5
  • 11
5
votes
0 answers

How to resume download in PYTHON, using urlretrieve function?

Can anyone tell me how to resume a download? I'm using urlretrieve function. If there is an interruption, the download restarts from the beginning. I want the program to read the size of localfile (which I m able to do) and then resume the download…
Mayank
  • 51
  • 1
  • 2
4
votes
1 answer

Sending files by Apache and PHP virtual() function with HTTP_RANGE support

I'm using PHP function virtual() for sending files by Apache 2.2 (it works faster than readfile()) and I can check user access permissions. But is there any way to add continuous download support, with HTTP_RANGE? I have tried things like…
barbushin
  • 5,165
  • 5
  • 37
  • 43
4
votes
0 answers

How to resume download in swift?

I'm a freshman in Swift and working on an app which would resume download after being closed. I found some similar questions from Stack overflow but they are not very helpful to my work. let dataTask =…
Joey Zhang
  • 363
  • 6
  • 18
4
votes
1 answer

Resuming file downloads in Ruby on Rails (Range: header support)

I am trying to make my Rails app support resuming of downloads, since we serve quite large files from there. I found a piece of middleware to do this long ago, but I cant find it again. Any tips/tricks on how to pull it off? Thanks! :)
kmnd
  • 85
  • 1
  • 7
3
votes
1 answer

How to achieve pause & resume functionality for file download?

I would like to implement pause & resume functionality for downloading a file both for Server & Client. My Questions are: What Protocol do I need to implement at server site (It will be .NET) ? Is there any example, tutorial, library anything that…
Yuvi
  • 1,344
  • 4
  • 24
  • 46
2
votes
0 answers

How to implement pause and resume downloading functionality in iPhone?

I have an iPad application in which i have to download file(zip file) from web server. Now i have to implement functionality like pause and resume downloading. Is there any sample code or link to get above functionality in my app, I needed it…
dks1725
  • 1,631
  • 1
  • 20
  • 29
2
votes
1 answer

Python URLRetrieve Limit Rate and Resume Partial Download

I'm using the code from this thread to limit my download rate. How do I incorporate partial downloads resuming with the rate limiting code? The examples I've found use urlopen instead of urlretrieve, and the RateLimit class depends on…
Lionel
  • 3,188
  • 5
  • 27
  • 40
2
votes
3 answers

How to track failed downloads in PHP?

I have collection of videos and audios in my server, where users can download by paying some amount. Suppose user pay the amount for me and start the download but accidentally the download fails how can i detect that and i can provide him to…
chnpin
  • 21
  • 1
1
2 3 4 5