Schmidt John Posted June 16, 2006 Share Posted June 16, 2006 How do I make a download link in ASP.NET like the HTML <a href="file://C:/WINDOWS/notepad.exe">Download</a> (This doesn't work there)?Thanks! Link to comment Share on other sites More sharing options...
aspnetguy Posted June 16, 2006 Share Posted June 16, 2006 I don't know what you are asking.You do realize that the link you have there would be "downloading" from the client's machine not the server? Link to comment Share on other sites More sharing options...
Schmidt John Posted June 25, 2006 Author Share Posted June 25, 2006 I don't know what you are asking.You do realize that the link you have there would be "downloading" from the client's machine not the server? <{POST_SNAPBACK}> Yes, this because I'm just testing. And testing can be done best with the own local host. I guess it must be possible to create both, a download link which works with the local host and later extend it to the web host. Am I wrong? Link to comment Share on other sites More sharing options...
dcole.ath.cx Posted June 25, 2006 Share Posted June 25, 2006 browser can't read ASP, so you just make a html link tag... ASP can just make the links dynamic, so you wouldn't have to write 100 links or what ever... Server side languages just write html for you (basicly) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now