Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downloading a .wav, without envoking a plug-in?

Status
Not open for further replies.

ChrisMacPherson

Programmer
Jul 3, 2000
157
GB
I have a site where you can download samples in .wav format. If you try to download one, it loads up a plug-in to play the file! How do I stop this, so that when you click on the link, it just downloads the .wav file? [sig]<p>Chris MacPherson<br><a href=mailto:thedamager@hotmail.com>thedamager@hotmail.com</a><br><a href= on the new Browza's!!<br>
Learn/t/ing D\HTML, Javascript, Java, VB5-6, COBOL, Pascal[/sig]
 
The user will have to right-click (or hold-click for Mac) the link and select Save Target As. I believe it is a shift-click for NN. As for some sort of code to keep this from happening I would suggest zipping the file up so that when the user clicks on it the download option box will appear.

Later, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
 
Yeh, I tried the zip option, but the server that my site resides on, will not allow zip files for some reason! I hoped there was a way of avoiding the right-click and save as, because it just doesn't appeal to me, maybe it's just me!!

Thanks for the suggestion

[sig]<p>Chris MacPherson<br><a href=mailto:thedamager@hotmail.com>thedamager@hotmail.com</a><br><a href= on the new Browza's!!<br>
Learn/t/ing D\HTML, Javascript, Java, VB5-6, COBOL, Pascal[/sig]
 
No zip files! Find another provider. In lieu of that create self-extracting exes.

Later, [sig]<p>Rob<br><a href=mailto:robschultz@yahoo.com>robschultz@yahoo.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
"Focus on the solution to the problem,<br>
not the obstacles in the way."<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top