HTML question

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

HTML question

Postby Pent » Tue Apr 13, 2004 4:44 pm

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.
User avatar
Pent
 
Posts: 351
Joined: Sat Feb 07, 2004 1:22 pm
Location: michigan

Postby ShiroiHikari » Tue Apr 13, 2004 4:53 pm

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?
fightin' in the eighties
User avatar
ShiroiHikari
 
Posts: 7564
Joined: Wed May 28, 2003 12:00 pm
Location: Somewhere between 1983 and 1989

Postby Mithrandir » Wed Apr 14, 2004 8:01 am

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!)
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Pent » Wed Apr 14, 2004 1:04 pm

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?
User avatar
Pent
 
Posts: 351
Joined: Sat Feb 07, 2004 1:22 pm
Location: michigan

Postby ShiroiHikari » Wed Apr 14, 2004 3:33 pm

Yeah, the person would have to right-click the link and select "save target as"
fightin' in the eighties
User avatar
ShiroiHikari
 
Posts: 7564
Joined: Wed May 28, 2003 12:00 pm
Location: Somewhere between 1983 and 1989

Postby madphilb » Wed Apr 14, 2004 9:12 pm

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.
PHIL

Image
Member of P.I.E. -- Pictures of Inkhana for Everyone!! Join the fight!!
Image
User avatar
madphilb
 
Posts: 1057
Joined: Thu May 29, 2003 1:46 pm
Location: Sunny St. Pete, FL

Postby Mithrandir » Thu Apr 15, 2004 8:45 am

...or javascript or http-equiv=Refresh...

:D

It really depends on the browser and the OS, TBH. That's one of the reasons I like my current platform, though...
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 197 guests