Questions tagged [download]

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.

18430 questions
5
votes
2 answers

Download all .tar.gz files from website/directory using WGET

So i'm attempting to create an alias/script to download all specific extensions from a website/directory using wget but i feel like there must be an easier way than what i've come up with. Right now the code i've come up with from searching Google…
sMyles
  • 2,418
  • 1
  • 30
  • 44
5
votes
4 answers

create file in memory and let user download

I am coming from razor in asp.net. Usually I would use a [FilePost] for this, but not sure how to do it in grails. Here is the situation I have a controller class MyController{ def index{ } } I then have a link on index in the form of
Badmiral
  • 1,549
  • 3
  • 35
  • 74
5
votes
4 answers

Download file from Ajax (sort of)

I have this ajax call in my GSP: $.ajax({ url: '${request.contextPath + '/Ticket/passAll'}', type: 'POST', data: data, success: function() { alert("Success"); } }); This is code block from my controller…
drago
  • 1,207
  • 4
  • 24
  • 45
5
votes
5 answers

Best way to let users download a file from my website: http or ftp

We have some files on our website that users of our software can download. Some of the files are in virtual folders on the website while others are on our ftp. The files on the ftp are generally accessed by clicking on an ftp:// link in a browser -…
BTB
  • 2,126
  • 3
  • 21
  • 22
5
votes
1 answer

How to download multiple files using asp and C#

I'm pretty new at this, so bear with me. Here's my code. It only downloads one file even though multiple are selected. foreach(String fileName in fileNameList) { FileInfo updateFile = new FileInfo("C:/inetpub/wwwroot/w4/DanyaWebReports/Data/" +…
Bender
  • 361
  • 2
  • 3
  • 13
5
votes
1 answer

android2.3 DownloadManager

I use DownloadManager, which in available since Android 2.3, to download FTP. But it does not work. I do not know how to make it work? I did not find proper examples. Does DownloadManager support FTP?
bonnie
  • 331
  • 1
  • 4
  • 17
5
votes
2 answers

Download a Carrierwave upload from S3

I'd like to download an image that was uploaded to S3 using carrierwave. The image is on the Card model, mounted as an uploader. I saw this answer, but had trouble getting that solution to work. My code is: #download image from S3 uploader =…
joseph.hainline
  • 24,829
  • 18
  • 53
  • 70
5
votes
1 answer

how to download m3u video in IOS app?

I'm developing an IOS application which will download some videos to local so that users can watch those videos offline. But currently, a lot of videos are m3u and m3u8 format. As I know m3u and m3u8 is just a video list. So my question is how I can…
user1340399
  • 51
  • 1
  • 1
  • 3
5
votes
1 answer

How to run JavaScript method in java?(I need to create program to download about 10k tracks)

In few days "Wirtualna Polska SA" closes "mp3.wp.pl" service, so I decided to download some music from there and save on my hard drive. Its about 150k(I dont need all btw.) of files so doing this by myself would be waste of time. I've create a…
USER_
  • 63
  • 4
5
votes
2 answers

Getting downloads to work between angularjs and express.js

I can get the raw data of the file that I am requesting, but I can't get the browser to serve the file to the user. Do I need to use iframes? //Client code download_file: function (path, callback) { $http.post('/download/client_file',…
The_Brink
  • 2,649
  • 2
  • 16
  • 18
5
votes
2 answers

Apache2 server mime types

I am trying to get my Apache2 web application to push an arbitrary file extension as an octet-stream when pointed to by a browser. i.e. Someone goes to blahblah/examples/example1.xyz I want the browser to download the .xyz file rather than just…
Jay Elrod
  • 738
  • 1
  • 7
  • 20
5
votes
2 answers

Retrieve filename from http download file

I am trying to download a file from a webserver and save it under the original filename the server is sending with the file. Downloading works very well, but I am not able to get the real filename. For real example I am trying to download this file…
Marco
  • 960
  • 2
  • 7
  • 26
5
votes
2 answers

Download file from url to cordova app error

I'm making an app that needs to download images from my site and store them in the phone, but when I try phonegap shows me all the errors that could happen. What can I do to correct this =/ ? var fileTransfer = new…
talles_jp
  • 143
  • 3
  • 13
5
votes
1 answer

How do you invoke a file download with link_to_remote in rails?

I'd like to be able to invoke a file download from rails using link to remote. I have the link working okay,it looks like this : link_to_remote image_tag("icons/ppt_48.png"), :url => formatted_element_path(@element, :ppt), :method => :get, …
Chris Drappier
  • 5,280
  • 10
  • 40
  • 64
5
votes
2 answers

PHP: Force download header wont show total size and speed

Whenever I use this script to download a file, I can't see the total size and the speed while downloading... I want to to make it look more like the 'direct download link'. The purpose of this script is to hide the direct download link restrict…
Yuki Kutsuya
  • 3,968
  • 11
  • 46
  • 63
1 2 3
99
100