Page 1 of 1
HTML question
PostPosted: Tue Apr 13, 2004 4:44 pm
by Pent
I was just wondering how to get it so people can download a program from your site. Does anyone know the html for this? Or do you use html at all?
Thanx.
PostPosted: Tue Apr 13, 2004 4:53 pm
by ShiroiHikari
Well....hmmm. What I'd try is, upload the file to your space, then put a link to that file on the site, like
http://www.yoursite.com/file.exe or whatever the URL is. It -should- work that way, but I could be wrong. Anyone else have a better way?
PostPosted: Wed Apr 14, 2004 8:01 am
by Mithrandir
Hmm... What kind of program are you talking about? If you mean a simple executable that your created, it's pretty easy to just upload and link to it like a normal file. If it's a javascript file, it's a bit more complex. If it's a java applet, it's more complicated still. So a bit more info would help us track down what you want to do, and tell you how to do it.
(And as always, if it's a copyrighted program, it's illegal to do that, you know!)
PostPosted: Wed Apr 14, 2004 1:04 pm
by Pent
Yeah I could just put a link to it, I think. Does putting a link to it allow someone to download it or view it?
PostPosted: Wed Apr 14, 2004 3:33 pm
by ShiroiHikari
Yeah, the person would have to right-click the link and select "save target as"
PostPosted: Wed Apr 14, 2004 9:12 pm
by madphilb
How the file is handled has more to do with the browser that the person is using. Firebird won't execute .EXE files, however IE (and is one of the reasons that there are so many security issues with IE, IMNSHO) will allow you to RUN the file (it downloads it to a temporary directory and then executes it).
There really isn't a way to force anyone to download a file, short of fancy ActiveX or Java code.
PostPosted: Thu Apr 15, 2004 8:45 am
by Mithrandir
...or javascript or http-equiv=Refresh...
It really depends on the browser and the OS, TBH. That's one of the reasons I like my current platform, though...