download from the server side - Help with how files are downloaded

They have: 4 posts

Joined: Aug 1999

I want to give visitors to my site the ability to download a file with a single button click. I see this all the time on sites I visit, but can't see how they're doing it. I presume it uses a cgi of some sort. Anyone know where I can find info on this?

They have: 5,633 posts

Joined: Jan 1970

Do you mean dowload or upload?

Downloading would be very easy. Simply use this code:

<form action="aFile">
<input type=submit value="Download File">
</form>

Later,

Malte

----------
Malte Ubl - [red]Germany[/red] - http://goKewl.com/
[red]The beats of 1000 hearts inside...[/red] the merciless pulsation... [red]and all I know is I'll be back...[/red] back to trance nation!

They have: 4 posts

Joined: Aug 1999

Malte,

Thanks for the quick response.

I want to transfer a file from the server to the user.

I have a screen saver I want to distribute. I want the visitor to be able to download the .exe install and setup file by clicking on a single button.

Please, don't tell me it's that simple<G>! I've been wanting to do this for months but figured it would be an involved process and have kept putting it off until I get "the time".

Again, thanks for taking the time to responed.

JP

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.