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!

Redirect to an MP3 file

Status
Not open for further replies.

Sudmill

Programmer
Apr 20, 2001
65
GB
Help !!

I have been trying to write a simple script that will redirect to an MP3 file to enable a user to download it (Im not interested in streaming it or anything complicated like this). For example, a user clicks a link that loads the cgi program, which should then send back a redirect response (to the .mp3 file) to the users browser, which then asks the user if they want to download the file or open it from the current location (the standard IE response).

I have tried using that standard redirect method, but this didnt work. Has anyone got anyideas, cos this is such a simple task and just doesnot work for me ?
Cheers

John (Sudmill)
 
That would be easybut is not what I am trying to acheive. There is a requirement to to make a transparent link through to the file.

Does anyone know of any problems associated with the redirect function and MP3 files (whatever MIME type they form)? Any help at all would be appreciated !
Cheers

John (Sudmill)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top