download

How to block downloads in .NET WebBrowser control?

I need to prevent the .NET WebBrowser control from showing any "Do you want to open or save this file?" and "Save As" dialogs. Instead, I want to display a message box telling users that file downloads are disabled for security reasons. I started with the FileDownload event of WebBrowser, but it does not allow cancellation. Then, I used...

What are the Approaches for updating Microsoft Expression Web Add-ins

I am working on an add-in for Microsoft Expression Web. We would like to check for an update each time that the users activate the add-in. Note that the add-in consists of a number of main assembly plus a number of supporting .NET assemblies. I am currently researching the possibility of using the "smart client" technology. That te...

Best way to transparently log downloads?

I have a personal project that's been online for sometime now. I've been keeping a tally of downloads by doing this: When the user clicks the download link, it hits a PHP script that writes some information to a table. Once the data is written, the script returns the path to the actual file. The user then has the ability to save the fi...

Ftp connection problem

I have an application implemented with BackgroundWorker that periodically connects to ftp (for download and upload) using LumiSoft library. It works just fine but after a while (let's say 2 - 3 hours) the thread (backgroundworker) blocks under the Connect method (witch doesn't throw any exception). Here is the part of code that fails: ...

showing content on the blank screen after downloading a file

I've observed that under certain circumstances, a web browser will navigate to a blank page and then prompt the user to download a file. In my current situation, it's navigating to a URL that generates an Excel file. The download of the file works perfectly, but the user is now stranded on a blank page. There are two things I would li...

Flv file download and browser progress bar

I have just coded up a web based flv file download utility. When I try to download an flv file, the browser does not show a progress bar as in I do not see the time left for download. Somewhere I read that this happens if the flv file you are trying to download does not have a meta tag associated with it. So I ran my flv file through the...

Offline .NET 3.5 Documentation

Where can I download a chm file containing .NET 3.5 API Documentation? It seems is not available in msdn! ...

How do I get started with ASP.net MVC?

I have experience in PHP, JSP/servelts and classic ASP, and I am trying to learn a bit about ASP.net MVC. I figured out that www.asp.net is the website to go to get started. But I am a little confused. What all stuff exactly should I download to get started? What is the best IDE for this? Can I use Microsoft expression web? What all o...

Android Download Intent

Hello, I was wondering what is the intent for downloading URLs? In the browser, it will download stuff with a little notification icon. I was wondering if I can use that intent (and what it is). Thanks, Isaac Waller ...

How to download a file from a website in C#

Is it possible to download a file from a website in Windows Application form and put it into a certain directory? Thanks! ~~Seth ...

elegant solution for automatic downloads

I am currently using the meta http-equiv='Refresh' to automatic start PDF downloads. however this has different effect on each of the browsers. The main problem is with IE (6 & 7) once the user is redirected to the PDF if the user click the back button they are sent back to the page that initiated the download and then promptly redirec...

How can I throttle a download in a Perl program?

Is there any Perl module available for download throttling? I would like to download a certain file but limit the download rate to a specific number of KB/sec . ...

Requiring web redirects for downloads in games

I've noticed that several game suffer from poor download speeds (<10Kb/s) when you don't use a web redirect (an apache,iis,... server), is there a programmatic reason for this that I don't see or is it for other reasons I'm missing. It's been assumed that this is intended to not bog down the server but I'm looking to see if there is a l...

Save remote file that pushes headers to force download

Hello all, I can download remote files using PHP but how do you download from a link that pushes headers out? I mean, you can click on some links and it will force a download and present you with dialog box to save the file. How can I download and save this sort of thing using PHP? Any examples or links to tutorials would be great sinc...

PHP headers forced download and then redirect

Right now I have a php form that forces a download of a zip. How can I redirect to another page and also force that download (where the download is actually php zip)? Would I use javascript? any ideas? Thanks! ...

How to download fast lots of web pages in ruby? Parallelizing download?

I need to scrape(using scrAPI) 400+ web pages ruby, my actual code is very sequential: data = urls.map {|url| scraper.scrape url } Actually the code is a bit different (exception handling and stuff). How can I make it faster? How can I parallelize the downloads? ...

How do I serve a large file for download with Perl?

I need to serve a large file (500+ MB) for download from a location that is not accessible to the web server. I found the question Serving large files with PHP, which is identical to my situation, but I'm using Perl instead of PHP. I tried simply printing the file line by line, but this does not cause the browser to prompt for download...

Download image with Ruby RIO gem

My code: require 'rio' rio('nice.jpg') < rio('http://farm4.static.flickr.com/3134/3160515898_59354c9733.jpg?v=0') But the image downloaded is currupted. Whtat is wrong with this solution? ...

Android download binary file problems

Hello, I am having problems downloading a binary file (video) in my app from the internet. In Quicktime, If I download it directly it works fine but through my app somehow it get's messed up (even though they look exactly the same in a text editor). Here is a example: URL u = new URL("http://www.path.to/a.mp4?video"); HttpURLCon...

problem downloading file

I write a script to force download mp3 files from a site. The code is working very fine but the problem is that it can't download large files. I tried it with a file of 9.21mb and it downloaded correctly, but whenever i try to use the code to download a file of 25mb, it simply gives me a cannot find server page or The website cannot disp...