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

Python FTPLIB error 530 Permission Denied

I've tried the script below: import os from ftplib import FTP ftp = FTP("ftpsite","myuser", "mypass") ftp.login() ftp.retrlines("LIST") ftp.cwd("folderOne") ftp.cwd("subFolder") listing = [] ftp.retrlines("LIST", listing.append) words =…
lovelyvm
  • 127
  • 2
  • 16
2
votes
2 answers

Core-Data + AFNetworking + UI Updating (Responsiveness)

Here's the scenario: I'm writing a DownloadManager, that allows the user to download, pause, cancel, download all, and pause all. The DownloadManager is a singleton, and uses AFNetworking to download files. It has it's own private managed object…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
2
votes
1 answer

PHP: How to shorten url + get data from database

Im trying to make automatic download page url shortener for my file upload script. Example of part that inserts data to database: function RandomString($length) { $key = ""; $keys = array_merge(range(0,9), range('a', 'z'), range('A',…
plexcell
  • 1,647
  • 2
  • 15
  • 29
2
votes
1 answer

Android DownloadManager save file with original name

I'm just working on the Android DownloadManager and I would like to save the file with the original file name, provided by the server. My current code: req.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI …
2
votes
3 answers

How do Download Managers download huge files on HTTP without multiple requests?

I was downloading a 200MB file yesterday with FlashGet in the statistics it showed that it was using the HTTP1.1 protocol. I was under the impression that HTTP is a request-response protocol and most generally used for web pages weighing a few…
Kevin Boyd
  • 12,121
  • 28
  • 86
  • 128
2
votes
3 answers

Limit Download connections Apache

I am in the process of starting a affiliate program and i am providing hosted flv/mp4 files as a promo tools. so ill be serving these video files to hundreds of surfers. my question is how do i limit the connections for these files, idk what its…
user1642018
2
votes
2 answers

Android DownloadManager not working when redirected

I'm working on an app that will download a zip file stored on Amazon S3 via a Rails Heroku server after authenticating via oAuth 2. Here's the flow: Request to authenticate with the server running on Heroku via oAuth2. Receive oAuth2 access…
Marky
  • 1,294
  • 1
  • 18
  • 40
2
votes
2 answers

How to overwrite android asset?

I have small XML(KB) file in my assets folder. My application draws data from it. But then I have downloaded an updated version of the file I need to replace it somehow and I don't know how to? Since I am developing on higher API`S I can use…
PovilasID
  • 883
  • 10
  • 34
2
votes
1 answer

Pass a download link from a web browser to a third-party application

I was wondering how is it possible to pass a download link from a web browser to a third-party application instead of letting the web browser downloading it directly. Of course a browser extension is required. But I'm asking for the way it's…
2
votes
1 answer

Android: register one receiver many times

I am downloading an Android app from the server using the DownloadManaegr class. A broadcast receiver is registered when the download is completed. When the DownloadManager.ACTION_DOWNLOAD_COMPLETE intent is received, a bar notification is…
b.i
  • 1,087
  • 4
  • 22
  • 43
2
votes
1 answer

Qt - How to save downloaded data for a multipart downloader

I'm writing a multipart downloader in Qt. Multiple QNetWorkRequest with http header "Range" are used to download a file. Now I write data received in each part(QNetworkReply) to file.part1, file.part2, etc. Is it possible to write data to the same…
greenmoon55
  • 81
  • 1
  • 9
2
votes
1 answer

Android DownloadManager ETag support

There is info that Android's DownloadManager support ETags. Okay, I have a server with ETag support (e.g. DropBox). When I'm trying to download a file DownloadManager creates a new one and appends a number to the local filename (e. g. file.zip,…
efpies
  • 3,625
  • 6
  • 34
  • 45
1
vote
1 answer

Linux library for segmented download

I want to develop a download manager supporting segmented download. So, I am looking for a library supporting the same. Please give suggestions regarding the best library available on Linux platform that could serve the purpose.
sidharth sharma
  • 3,025
  • 6
  • 23
  • 20
1
vote
1 answer

Use DownloadManager to download from an URL accessible through a DefaultHttpClient

In my Android app I have to download files from URLs. I use the Android DownloadManager but the URLs are accessible only through a DefaultHttpClient. Infact these URLs are the result of several POST requests. I mean: I'm allowed to download the…
lugeno
  • 1,055
  • 3
  • 10
  • 18
1
vote
1 answer

How to write my own download manager using Objective C for iOS devices

I am writing a download manager for iPhone using objective C. I am using ASIHTTP framework and its working great. But my problem is I am not able to download from file sharing sites like filesonic, rapidshare, hotfile etc. I want to know how can I…
Saurabh
  • 22,743
  • 12
  • 84
  • 133