Joined: 17 Jun 11
05 Aug 11 6:48 am
How do i provide a link to download a zip file?
I have a website and i have a large zip file i want to provide to download to users. The file was uploaded via ftp to my server and i used an a href tag to provide a link to the file.
The probelm im having is when the link is clicked and the user is asked to save the file, it instantly saves as a 0kb size zip file which does not contain what it should. I have tried changing small parts of the syntax in the html for the link to no avail.
Whats the best way to provide a downloadable file to my users without forcing them to use an external program?
fyi the file is 3.8GB in size, is .zip, and is in the root directory of my server. My website is based on PhPBB3 but the file that provides the link is HTML.