HI
I have made a web app where i can upload files, now i want to download files that have been uploaded. All my files are stored on a folder called "Uploads" on the server. When a file is uploaded, its details are recorded in a Mysql database(FileName, FileLength,FileType, DateAdded).
Now i have used a repeater control to get the uploads/attachments details from the database and list them like this:
File Name: Ash.doc
File Type: doc
File Length: 10kb
Date: 12/05/2010
I want to be able to click on the filename above and then be offered to view in web browser or save file to hard disk.
How do i go about doing this? Can someone please explain and perhaps provide an example. Any help will be much appreciated