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.

17009 questions
174
votes
10 answers

Basic http file downloading and saving to disk in python?

I'm new to Python and I've been going through the Q&A on this site, for an answer to my question. However, I'm a beginner and I find it difficult to understand some of the solutions. I need a very basic solution. Could someone please explain a…
arvindch
  • 2,087
  • 2
  • 11
  • 17
166
votes
9 answers

How to download all files (but not HTML) from a website using wget?

How to use wget and get all the files from website? I need all files except the webpage files like HTML, PHP, ASP etc.
Aniruddhsinh
  • 1,977
  • 3
  • 14
  • 19
157
votes
19 answers

Is there a link to GitHub for downloading a file in the latest release of a repository?

Using GitHub's Release feature, it is possible to provide a link to download a specific version of the published software. However, every time a release is made, the gh-page also needs to be updated. Is there a way to get a link to a specific file…
Christian Rondeau
  • 3,254
  • 4
  • 24
  • 43
154
votes
5 answers

Is there a Public FTP server to test upload and download?

What I want to do is measure broadband speed using c#. To do this, I use NetworkInterface.BytesReceived and BytesSent to get the current amount of bytes sent and received from my network adapter and get the DateTime. Then I download/upload a file…
Jay
  • 1,875
  • 3
  • 13
  • 20
141
votes
5 answers

Downloading all maven dependencies to a directory NOT in repository?

I started to convert my project to maven because I needed to use a library that was distributed in binary form over maven only, but after banging my head against the wall on it for far too long I've decided to stop hurting myself and just use Ant. …
chubbsondubs
  • 34,812
  • 24
  • 97
  • 134
135
votes
13 answers

How to force file download with PHP

I want to require a file to be downloaded upon the user visiting a web page with PHP. I think it has something to do with file_get_contents, but am not sure how to execute it. $url = "http://example.com/go.exe"; After downloading a file with…
john
  • 1,369
  • 2
  • 9
  • 6
134
votes
9 answers

How do I download a binary file over HTTP?

How do I download and save a binary file over HTTP using Ruby? The URL is http://somedomain.net/flv/sample/sample.flv. I am on the Windows platform and I would prefer not to run any external program.
Radek
  • 14,395
  • 48
  • 147
  • 231
128
votes
14 answers

How to make PDF file downloadable in HTML link?

I am giving link of a pdf file on my web page for download, like below Download Brochure The problem is when user clicks on this link then If the user have installed Adobe Acrobat, then it opens the file in the same…
Prashant
  • 25,398
  • 62
  • 159
  • 219
121
votes
8 answers

How to use Python's pip to download and keep the zipped files for a package?

If I want to use the pip command to download a package (and its dependencies), but keep all of the zipped files that get downloaded (say, django-socialregistration.tar.gz) - is there a way to do that? I've tried various command-line options, but it…
John C
  • 5,569
  • 11
  • 41
  • 67
120
votes
20 answers

Windows batch file file download from a URL

I am trying to download a file from a website (ex. http://www.example.com/package.zip) using a Windows batch file. I am getting an error code when I write the function below: xcopy /E /Y "http://www.example.com/package.zip" The batch file doesn't…
James
  • 1,201
  • 2
  • 9
  • 3
117
votes
7 answers

How to download image from URL

Is there a way to download an image directly from a url in c# if the url does not have an image format at the end of the link? Example of…
Ifwat Ibrahim
  • 1,223
  • 4
  • 15
  • 27
117
votes
10 answers

Download File Using jQuery

How can I prompt a download for a user when they click a link. For example, instead of: Download Here I could use: Download Here $('a').click... //Some jquery to download the file This way, Google…
Dodinas
  • 6,215
  • 22
  • 71
  • 105
115
votes
19 answers

Download multiple files with a single action

I am not sure if this is possible using standard web technologies. I want the user to be able to download multiple files in a single action. That is click check boxes next to the files, and then get all the files that were checked. Is it possible -…
Ankur
  • 47,089
  • 107
  • 237
  • 309
110
votes
3 answers

Disable VS' "downloading public symbols"

When I debug my ASP.NET webapp in VS2010, a dialog appears with the title "Downloading public symbols". How do I instruct Visual Studio not to attempt this?
lance
  • 15,310
  • 17
  • 70
  • 129
109
votes
7 answers

How can I present a file for download from an MVC controller?

In WebForms, I would normally have code like this to let the browser present a "Download File" popup with an arbitrary file type, like a PDF, and a filename: Response.Clear() Response.ClearHeaders() ''# Send the file to the output…
mgnoonan
  • 6,860
  • 5
  • 22
  • 26