18,372 questions
23
votes
7
answers
58k
views
How to check if System.Net.WebClient.DownloadData is downloading a binary file?
I am trying to use WebClient to download a file from web using a WinForms application. However, I really only want to download HTML file. Any other type I will want to ignore.
I checked the ...
3
votes
4
answers
4k
views
What's the best way to generate a Text file in a .net website?
I have a page in my vb.net web application that needs to toss a bunch of data into a text file and then present it to the user for download. What's the best / most efficient way to build such a text ...
75
votes
5
answers
72k
views
How to get the file size from http headers
I want to get the size of an http:/.../file before I download it. The file can be a webpage, image, or a media file. Can this be done with HTTP headers? How do I download just the file HTTP header?
5
votes
3
answers
7k
views
Can't download file in IE7 but there isn't any issue in Firefox, Chrome, etc..?
I have an script that receives an encrypted url and from that generates a download, the most critic par of the script is this:
$MimeType = new MimeType();
$mimetype = $MimeType->getType($filename);...
1
vote
4
answers
2k
views
How do I limit the number of simultaneous downloads in Asp.net and/or IIS?
I have a website with a lot of large files. However, I don't want users to start downloading like 10 files at a time. I noticed there are website out there where they only allow 2 simultaneous ...
0
votes
3
answers
6k
views
Force IIS7 to suggest downloading *.exe files in "Local intranet" zone
Problem:
html file on local server (inside our organization) with link to an exe on the same server.
clicking the link runs the exe on the client. Instead I want it to offer downloading it.
Tried so ...
12
votes
11
answers
9k
views
Best way to initiate a download?
On a PHP-based web site, I want to send users a download package after they have filled out a short form. The site-initiated download should be similar to sites like download.com, which say "your ...
3
votes
9
answers
1k
views
Average User Download Speeds
Any ideas what the average user's download speed is? I'm working on a site that streams video and am trying to figure out what an average download speed as to determine quality.
I know i might be ...
57
votes
5
answers
122k
views
How to Automatically Start a Download in PHP?
What code do you need to add in PHP to automatically have the browser download a file to the local machine when a link is visited?
I am specifically thinking of functionality similar to that of ...
6
votes
7
answers
12k
views
Does Amazon S3 download fail sometimes? [closed]
We just added an autoupdater in our software and got some bug report saying
that the autoupdate wouldn't complete properly because the downloaded file's sha1 checksum wasn't matching. We're hosted on ...
5
votes
5
answers
5k
views
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 ...