Download file html with javascript?

Leo D

New member
If I remember right, you can either:
a) zip the file with all its resources and use that for your link,
b) put the file in an ftp folder and let your user download it that way,
c) set the file's mime-type to text/plain so the user will see its source code,
d) instruct the user to save the file on their computer, or
e) email it to them on request.

I think those might be your only options =(
 
I know that PHP can do this, if you plan on making allot of downloadable .html pages, just change the extension and instruct users to change it to .html
 
If I remember right, you can either:
a) zip the file with all its resources and use that for your link,
b) put the file in an ftp folder and let your user download it that way,
c) set the file's mime-type to text/plain so the user will see its source code,
d) instruct the user to save the file on their computer, or
e) email it to them on request.

I think those might be your only options =(
 
I know that PHP can do this, if you plan on making allot of downloadable .html pages, just change the extension and instruct users to change it to .html
 
I know that PHP can do this, if you plan on making allot of downloadable .html pages, just change the extension and instruct users to change it to .html
 
I know that PHP can do this, if you plan on making allot of downloadable .html pages, just change the extension and instruct users to change it to .html
 
Back
Top