[Xitami] targeting file downloads
Alex Barna
xitami@lists.xitami.org
Thu, 02 Jun 2005 08:59:59 -0500
Rick Headly wrote:
> hello,
>
> i keep telling my visitors to right-click and "save target as" (or
> other browser equivalent) when downloading various high-res video
> files located on my server... but they don't pay attention. they
> continue to left-click the links, forcing these files to load in
> their media-players, often with very poor, choppy performance... as
> my connection is simply not fast enough to support their play in
> real-time.
>
> i want these files to be downloaded to the user's hard-drives only
> once (take the file and go away)... rather than having them return to
> the site every time they want to view the clip.
>
> how can i force a "file-download" without waking up their players?
>
> rick
That is just what download sites like tucows.com & download.com do.
What you need is some java script code for auto download on the page.
Then clicking on the file in a list brings up a page with the java code.
Do a search for free java scripts.
Alex,