Computing.Net > Forums > Web Development > making .zip files downloadable??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

making .zip files downloadable??

Reply to Message Icon

Name: HeatherB
Date: July 21, 2005 at 06:06:49 Pacific
OS: xp home edition
CPU/Ram: AU11/ 512
Comment:

Hi,

How do i make .zip files downloadable from my website. I want it so that when you click a picture of what the file contains it brings up the file download box. At the moment all it is doing is trying to open the file in the browser.

Please Help
HeatherB



Sponsored Link
Ads by Google

Response Number 1
Name: RandyH1959
Date: July 21, 2005 at 07:32:18 Pacific
Reply:

Here are a couple examples of how to do it.

<.p><.a href="http://geocities.com/yvarg/sample.zip">Text Link To Zip File<./a><./p>
<.p><.a href="http://geocities.com/yvarg/sample.zip"><.img src="http://geocities.com/yvarg/images/KLAUSthmb.jpg" border="0"><./a>

Just remove the period inside the first brackets and of course change the link to your file.

If if you want to see it in action go to this webpage to see the example and look at the source code. http://www.geocities.com/yvarg/index.html


0

Response Number 2
Name: jam14online
Date: July 21, 2005 at 08:17:21 Pacific
Reply:

You should make a simple hyperlink to the file, as RandyH1959 said. Then make sure your web server is sending the file with an "application/zip" Content-Type header.

The rest is left upto the web browser as to how it should deal with the file.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: making .zip files downloadable??

Adding Files for Download www.computing.net/answers/webdevel/adding-files-for-download/3062.html

PHP JPEG file download on Mac(IE) www.computing.net/answers/webdevel/php-jpeg-file-download-on-macie/1534.html

auto run zips in html www.computing.net/answers/webdevel/auto-run-zips-in-html/383.html