473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

providing files for dl

I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?

any help is appreciated, i've search many tutorials already

thanks
brandon
Jul 20 '05 #1
6 1473
in post <news:3f**********************@news.cablerocket.co m>
bnpain said:
I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?


<a href="my-file.ext">download my file [3Gb]</a>

--
brucie
04/December/2003 06:13:30 pm kilo
Jul 20 '05 #2
"bnpain" <bp*******@nesbeonline.com> wrote in
news:3f**********************@news.cablerocket.com :
I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?


Link to them. Make sure your server sends them out with the appropriate
content type. That's it.
Jul 20 '05 #3
sorry i'm rather new to this...
what do you mean sends them with the appropriate content type?
would this be what i need?
<A HREF="http://www.mysite.com/myfolder/myfile.ext">Download my file?</A>

some of the files i am using do have strange extensions
ie chess games i have are in a .pgn format. This is simply a standard for
saving chess games in a text file so that other chess programs can read them
as well. One website won't even let me upload it. i simply zipped it so it
worked out but now i need to retrive that zip.
thanks
brandon

"Eric Bohlman" <eb******@earthlink.net> wrote in message
news:Xn*******************************@130.133.1.4 ...
"bnpain" <bp*******@nesbeonline.com> wrote in
news:3f**********************@news.cablerocket.com :
I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?


Link to them. Make sure your server sends them out with the appropriate
content type. That's it.

Jul 20 '05 #4
i am foolish how easy is that...
"bnpain" <bp*******@nesbeonline.com> wrote in message
news:3f**********************@news.cablerocket.com ...
sorry i'm rather new to this...
what do you mean sends them with the appropriate content type?
would this be what i need?
<A HREF="http://www.mysite.com/myfolder/myfile.ext">Download my file?</A>
some of the files i am using do have strange extensions
ie chess games i have are in a .pgn format. This is simply a standard for
saving chess games in a text file so that other chess programs can read them as well. One website won't even let me upload it. i simply zipped it so it
worked out but now i need to retrive that zip.
thanks
brandon

"Eric Bohlman" <eb******@earthlink.net> wrote in message
news:Xn*******************************@130.133.1.4 ...
"bnpain" <bp*******@nesbeonline.com> wrote in
news:3f**********************@news.cablerocket.com :
I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?


Link to them. Make sure your server sends them out with the appropriate
content type. That's it.


Jul 20 '05 #5
bnpain wrote:
sorry i'm rather new to this...
what do you mean sends them with the appropriate content type?
would this be what i need?
<A HREF="http://www.mysite.com/myfolder/myfile.ext">Download my file?</A>
Lowercase would be better IMO. I think you should also give a
description in the optional TITLE attribute what the file contains etc.,
etc.

some of the files i am using do have strange extensions
ie chess games i have are in a .pgn format. This is simply a standard for
saving chess games in a text file so that other chess programs can read them
as well. One website won't even let me upload it.


This is off-list AFAIK, but you should get a better host I think ;-)
--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #6
You link to the files like this <a href="somefile.zip">Some File 1.28
MB</a>. You don't have to list the size though it will look better if
you do. If you have a file that requires a plugin, make a page of it
and use the object element. I don't run download sites but I have read
the code to a download. Those download.com-style downloads are done
through ASP or some other programming language and are unnecessary and a
waste of time to program.
-------------------------------------------------------------------------
bnpain wrote:
I have some files i'd like visitors of my site to be able to download.
How do i accomplish this with html?

any help is appreciated, i've search many tutorials already

thanks
brandon


Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nobody | last post by:
I have a website that is built around a web-application that my company purchased. My company has full ownership and administrative rights to this software and its corresponding files. It uses...
5
by: gregrjones | last post by:
I'm a musician who has a web site. I'd like to provide visitors of my web site with the means of streaming music off of my web site as one would if they were listening to a radio station. ...
11
by: BerkshireGuy | last post by:
Hello, I need to create an interactive report that can be sent to agencies with the following: Application #, Date Approved, Reason Not Taken The reason not take should be a drop down in...
0
by: Lee | last post by:
Once the business logic has been written and the basic elements are built into a page, what is the recommended way to provide the site innards to graphics design people without providing source...
2
by: ashish_basran | last post by:
Hello I have to provide download of files in ASP.NET 2.0 I am using following lines of code. try { Byte bytes = this.ContentController.GetFileContents(filePath);
0
by: Adam Sandler | last post by:
Hello, Having an issue with my ASP.Net page. I use some COTS, which for all intents and purposes, simply makes a jpeg file and physically places it in a directory on the web server. The...
1
by: BLUE | last post by:
I want to pass chunks of an xml file or an entire xml file to my WS. I'm surprised to see fro MSDN that no System.Xml class is serializable (XmlDocument, XmlElement and XmlNode): - I should use a...
0
by: watches0898 | last post by:
Edwards Garments Company is one popular industry specific designer specializing in work wear that ranges from chef coats to chef hats to separates to housecleaning uniforms. Edwards Garments...
36
by: Peter Olcott | last post by:
So far the only way that I found to do this was by making a single global instance of the container class and providing access to the contained class, through this single global instance. Are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.