Receiving data to a local system from a remote system, or to initiate such a data transfer. Do not use this tag for question asking where to download off-site resource.
Questions tagged [download]
18430 questions
5
votes
1 answer
Pause Resume Uploading / Downloading even if application terminates, is this possible?
I want to upload and download big files to or from the server from an iOS app in the following conditions.
1) If my app goes into the background it should perform its uploading and downloading.
2) If I lost the connection then it should stop any…

Hemang
- 26,840
- 19
- 119
- 186
5
votes
1 answer
Flask send_file as attachment not working
I'm using flask's send_file method to try and make the browser download a .txt file. Problem is the browser does not download anything.
Here's my python function:
@app.route('/download_zip', methods=['POST'])
def download_zip():
file_name =…

Felix
- 3,783
- 5
- 34
- 53
5
votes
1 answer
Firefox Addon Downloads.jsm
I'm trying to use the Downloads.jsm lib of Firefox (it's new in Firefox 23) in a jetpack addin.
var {Cu} = require("chrome"); //works fine
const {Downloads} = Cu.import("resource://gre/modules/Downloads.jsm"); //works fine
But executing either of…

balping
- 7,518
- 3
- 21
- 35
5
votes
1 answer
Downloading ISO file
When i try to download iso file, it results in 404 page not found. The link in this instance is like:
http://www.domain.com/virtualDir/filename.iso
virtualDir points to a location on our file servers.
I don't want to read the binary array and then…

learning...
- 3,104
- 10
- 58
- 96
5
votes
3 answers
How to download and save a file to local path using CURL
I have a URL as following
www.domain.com/file.asp?File=peoples.csv
This URL force downloads the file when hit in browser but i want to download this file on my local path using CURL.
Is there any way, thanks for help

kasim badami
- 196
- 1
- 4
- 14
5
votes
2 answers
Correct way to serve binary data and partial content with Zend Framework 2
I want to allow the serving of binary files with some sort of access control. Since the control is rather complex, I cannot simply let Apache serve the files, I have to serve them via PHP, using my Zend Framework 2 app. The action goes like…

Lanbo
- 15,118
- 16
- 70
- 147
5
votes
1 answer
How to capture the URL of the 'about to' download file on a browser
I want to write a piece of code that triggers an event when a file is getting downloaded.
Lets say its a chrome extension.
Like a Download Manager intercepts the browser download process, captures the file URL and downloads it. I want to capture the…

Swanidhi
- 2,029
- 1
- 20
- 21
5
votes
1 answer
How do I prompt the user to download a PHP-generated .CSV file, and how should I handle deleting it?
Here's my PHP code to create a .CSV file based on some SQL data. It's working as intended, the only issue being that it simply creates a .CSV file on the server, and doesn't prompt the user to download it.

Samuel Stiles
- 2,118
- 5
- 22
- 27
5
votes
3 answers
How do I download a file with WWW::Mechanize after it submits a form?
I have the code:
#!/usr/bin/perl
use strict;
use WWW::Mechanize;
my $url = 'http://divxsubtitles.net/page_subtitleinformation.php?ID=111292';
my $m = WWW::Mechanize->new(autocheck => 1);
$m->get($url);
$m->form_number(2);
$m->click();
my $response…

codygman
- 832
- 1
- 13
- 30
5
votes
2 answers
Java download all files and folders in a directory
I am trying to download all the files from this directory. However, I can only get it to download the url as one file. What can I do? I tried searching for this problem and it was confusing and people were starting to suggest using httpclients…

Kyle
- 2,339
- 10
- 33
- 67
5
votes
1 answer
Create CSV and save on local/server automatically
I need to create a CSV file in PHP and that created file should be saved on local/server rather than asking to save.

John Smith
- 215
- 3
- 4
- 10
5
votes
4 answers
file download counter without database
I am a beginer in programming. i have a pdf file for download in my website. I want to know the no. of downloads. I searched in google.
and i tried something like this. http://tutorialzine.com/2010/02/php-mysql-download-counter/
But everything is…

vani
- 53
- 1
- 1
- 4
5
votes
2 answers
download csv from google insight for search
Need help writing a script downloads data from google insight using c#
this is the download url and requires a login
http://www.google.com/insights/search/overviewReport?q=test&cmpt=q&content=1&export=2
how do i input my username and password? need…

newbie
- 67
- 1
- 4
5
votes
1 answer
Error downloading file to local subfolder using WinSCP
I use a batch file to get into WinSCP. The .bat reads a script file containing this:
cd /download/.stuff
get file.txt D:\Name\Sub Name\Even Lower
changes directory fine, finds file fine, but when it comes to placing it in Sub-folder directory on…

Rhodo
- 1,234
- 4
- 19
- 35
5
votes
1 answer
p:dialog gets closed on validation error of a submit with ajax="false", how to keep dialog open?
I have the following
…

Sabarish
- 862
- 1
- 14
- 23