Go4Expert

Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   File download (http://www.go4expert.com/forums/file-download-t4935/)

vikas 27Jun2007 13:59

File download
 
I have a link to text file which is on my server. When the user clicks on the link the textfile simply displays in a new window.
What i want to happen is that the file is able to be downloaded to the users machine.

How do i set this up?

pradeep 27Jun2007 14:22

Re: File download
 
Add a content-disposition headaer, using .htaccess if you are using Apache server!


All times are GMT +5.5. The time now is 06:54.