website design, maintenance, and hosting

Automatic Downloads Tutorial



This tutorial will demonstrate how to force a web browser to always save a file rather than view it.

To make your files download automatically, place them in a directory with an .htaccess file containing the following:

AddType application/octet-stream FileExtention

Replace where it says "FileExtention" with extention of the kind of file you'd like be downloaded automatically. You can create a new line for each type of file. For instance if you'd like all the .gif files and .jpg files to automatically download, then your .htaccess file would have the following two lines in it:

AddType application/octet-stream gif
AddType application/octet-stream jpg



Have You Seen Me?Call 1-800-THE-LOST if you've seen this child. Click on the image for case details. We support the work of the National Center for Missing and Exploited Children.
Click Here To Add A Missing Child Link To Your Pages!


Back To Web Account Documentation.

 

e-mail

Send E-Mail to:
comments@dss-sites.com

http://www.dss-sites.com

Dealer Support Services
203 Pine Street
Fulton, NY 13069-2429
Phone: (315) 598-8082
Fax: (315) 422-3837