• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a program to download program

 
Vishnu Murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
now i am developing official web site for our company, we have some exefiles, textfiles on the net, we want to provide some hyperlink to download these file from the net, how to achieve it. i tried with
<a href=ftp://servername/filename.txt>download</a>
but it is not working, can any one help me as how to achive it.
thanking you
vishnu
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by vishnu murthy:
i tried with
<a href=ftp://servername/filename.txt>download</a>
but it is not working, can any one help me as how to achive it.

<a href=http://servername/filename.txt>download</a>
will work if it is a zip file. If you use this with a txt file, the client will see the txt file displayed. They could cut and paste or they could right click on the link and use saveTargetAs

Just some ideas.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with Java. I am moving it to the HTML forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!