Monday, April 20, 2009

Temporary MP3 downloads / web programming?

I have everything in place in terms of domain and web hosting. A website will be designed in the near future. Until the site is up and running, is it possible to set up an MP3 download with no real actual site design. Specificallty, would somebody be able to tell me if it%26#039;s possible to set something up so that when the URL for my site is typed in the address bar - an instant save / run dialogue appears (RATHER than having a link and clicking save target as). Any help (the more detailed the better) would be great. Thanks.
Temporary MP3 downloads / web programming?
if your server supports ASP then create a file and name it Default.asp and type the following inside it:





%26lt;HTML%26gt;


%26lt;HEAD%26gt;%26lt;TITLE%26gt;Temp Home Page%26lt;/TITLE%26gt;%26lt;/HEAD%26gt;


%26lt;BODY%26gt;


%26lt;H1%26gt;Website is Under Construction%26lt;/H1%26gt;


%26lt;/BODY%26gt;


%26lt;/HTML%26gt;


%26lt;%


Response.Redirect (%26quot;FileName.mp3%26quot;)


%%26gt;





Rename your MP3 File to FileName.mp3 or the other way around and upload both files to the root directory in your website.








Have fun

sunburns

No comments:

Post a Comment