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
205
votes
24 answers
how to download file in react js
I receive file url as response from api. when user clicks on download button, the file should be downloaded without opening file preview in a new tab. How to achieve this in react js?

Sameer Thite
- 2,189
- 2
- 10
- 13
202
votes
10 answers
Basic http file downloading and saving to disk in python?
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 simple solution to…

arvindch
- 2,385
- 2
- 13
- 17
199
votes
8 answers
How do I ZIP a file in C#, using no 3rd-party APIs?
I'm pretty sure this is not a duplicate so bear with me for just a minute.
How can I programatically (C#) ZIP a file (in Windows) without using any third party libraries? I need a native windows call or something like that; I really dislike the idea…

Esteban Araya
- 29,284
- 24
- 107
- 141
189
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
- 2,225
- 3
- 15
- 22
178
votes
8 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
- 2,099
- 3
- 15
- 19
164
votes
9 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
- 6,285
- 12
- 45
- 69
154
votes
7 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
- 37,646
- 24
- 106
- 138
152
votes
5 answers
How can I efficiently download a large file using Go?
Is there a way to download a large file using Go that will store the content directly into a file instead of storing it all in memory before writing it to a file? Because the file is so big, storing it all in memory before writing it to a file is…

Cory
- 14,865
- 24
- 57
- 72
151
votes
9 answers
Download Returned Zip file from URL
If I have a URL that, when submitted in a web browser, pops up a dialog box to save a zip file, how would I go about catching and downloading this zip file in Python?

user1229108
- 1,621
- 3
- 13
- 9
148
votes
12 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,507
- 2
- 10
- 6
148
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…

djmzfKnm
- 26,679
- 70
- 166
- 227
143
votes
10 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,523
- 4
- 16
- 28
139
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
- 13,813
- 52
- 161
- 255
134
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,341
- 2
- 9
- 3
132
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,705
- 22
- 76
- 108