View Full Version : A Script For Downloading
11-19-2002, 01:02 AM
Pleasssssssseeeeeeeeee i need help.. i am after a script to add to my site to enable downloading for the people who vist my site i know they are out there but i cant seem to find the script
so any one who can help me is muchly appectied:rolleyes:
11-19-2002, 01:39 AM
There is not magical script to enable downloading, you can download many different file formats just by using the <a> tag.
<a href="myfile.zip>My file</a>
What do you want to download?
11-19-2002, 01:50 AM
i have just finish creating a IRC script and i want to have my vistors the option of downloading it....i was under the impersion you need a script on your site to allow this maybe i am wrong
11-19-2002, 02:07 AM
What is it an executable file (.exe), do you want them to download the file then load it onto there PC?
If that's the case, couldn't you just do:
<a href="IRC-script.exe">Download IRC script</a>
I might be wrong :(
11-19-2002, 05:52 AM
ty for that...it wasnt it though
thanks for all your help
all i needed to do was make a link and upload it to the site
12-08-2002, 04:26 AM
Gee, I remember when I had that same problem lol..:D
Would have been 3-4 years ago now..:)
That is one thing you don't actually learn in a book in a tutorial in most cases but all you really need is to look at source code.
12-09-2002, 02:10 AM
Yeah, but you do run into problems if you try to have people download things like .doc or .pdf files (just an example), where many times instead of the user being prompted to download the file, it will just open in the browser instead.
P.S. I would definitely avoid having a link to an .exe file, since many people (I for one) would be very skeptical of that (due to viruses, etc.) especially anything from a user on IRC (hacker heaven!)... I guess it all depends on what you're doing, though.
There are somewhat complicated server-side ways of overcoming this problem (by specifying MIME type, etc. on the server), but the easiest and fastest solution is to simply .zip a file using WinZip http://www.winzip.com and create a link to the .zipped file.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.