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
0
votes
1 answer

Download a large file (1+Gb) from iOS with resume capability

Here is the point: I've got an app that runs with a set of images in very low resolution. Nothing special here. When the app starts, I'd like it starts the synch download of full resolution photos set process (photos are downloaded off a remote…
Stéphane de Luca
  • 12,745
  • 9
  • 57
  • 95
0
votes
1 answer

Offering users downloads from S3 buckets: Am I doing it wrong?

Our site allows users to store their private files on our site, which is now in an S3 bucket since we've moved to AWS. Users can download their files again, but only after logging in to our web site. Even if they have the direct URL…
DOOManiac
  • 6,066
  • 8
  • 44
  • 67
0
votes
0 answers

Using PHP with resumable downloads and encrypted files

I have a project that encrypts uploaded files and saves them. Those files are hidden from the users while still able to see them (by using php). The code below works perfectly with images and all other files with sizes 0-2MB. The problem is larger…
ND_
  • 63
  • 6
0
votes
1 answer

PHP Resumable Download

I found this function on the internet: function download_file($file,$ctype, $is_resume=TRUE) { //First, see if the file exists if (!is_file($file)) { die("404 File not found!"); } //Gather relevent info about file …
HTMHell
  • 5,761
  • 5
  • 37
  • 79
0
votes
1 answer

Http Range in GWT for a resumable download

I want to find out a way for fetching HTTP_RANGE (sending by http request from browser or download manager) in gwt. I found it in php (_SERVER['HTTP_RANGE']) but i couldn't find a solution for java. The work that i want to do, is a way for resumable…
mat
  • 143
  • 1
  • 1
  • 11
0
votes
0 answers

java resume download taking long time

Here is my code private static void DownloadFile() throws IOException { BufferedInputStream in = null; File file=new File("temporary.file"); RandomAccessFile raf=null; long fSize=0; if(file.exists()){ raf=new…
MDEVLP
  • 124
  • 1
  • 3
  • 12
0
votes
1 answer

Can WinInet resume file downloads without starting over?

I'm using a combination of InternetSetFilePointer, and InternetReadFile, to support a resumable download. So when I begin downloading a file, I check to see if we already have part of it, and call InternetSetFilePointer using the size of what we…
DaveS_Lifeway
  • 375
  • 3
  • 9
0
votes
0 answers

Resuming download with selected region in java

I am trying to download specific region of a file using java. In the HTTP header request I am setting the 'Range' filed like as below. uc.setRequestProperty("Range", "bytes= 0-8408468"); But, in the response I am getting the file with size of…
Dinesh
  • 16,014
  • 23
  • 80
  • 122
0
votes
1 answer

Downloading a region of a file using java

I am trying to download a file using java. In order to provide maximum speed, I want to download the files as separate regions. I can use the following code. // Specify what portion of file to download. connection.setRequestProperty("Range",…
Dinesh
  • 16,014
  • 23
  • 80
  • 122
0
votes
2 answers

How can I make this code download array of Files from urls

I am trying to make this code a resumable and again download an aerray of URLs but I am struggling. The code only seems to download the last file but ignores the first one.
0
votes
1 answer

Setting up an FTP server without a dedicated IP

I'm not sure if this is the best SE site for this question but here goes. I am looking to implement a simple and easy to use file transfer solution such that people can upload/download files with resume support to our office server (which does not…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
0
votes
1 answer

how to download `decoded_content`

***UPDATED CODE with resume functionality** my $ua = LWP::UserAgent->new; $ua->credentials('$ip:80', 'Realm', 'username', 'password'); my $response = $ua->mirror($url,$newfile); if ($response->is_success) { print "Download…
-1
votes
2 answers

google earth engine: how resume a specific batch who fail

I'm first time using Google Earth engine via this repo: https://github.com/kratzert/Caravan/blob/main/code/Caravan_part1_Earth_Engine.ipynb All is working good but at a moment I forgot to dowload finished batch on my pc to free some space on google…
-1
votes
1 answer

download and resuming download using winInet.h or urlmon.h?

I'm using winInet Function to download files from internet and here is question: How I can resume aborted download? is there any very simple sample? I read http://www.clevercomponents.com/articles/article015/resuming.asp but it does not work! I just…
Jack
  • 41
  • 1
  • 2
1 2 3 4
5