I want to have one section in my web site where the users can upload their files (picture, songs, videos etc.), what I want to do is that whenever a user uploads any file, say for example I have uploaded one file named "My Best Picture.jpg", when anybody clicks on the "Show Files" link, the picture that I have just uploaded("My Best Picture.jpg") should appear in that list with the URL to that picture being automatically generated, so that when anybody click on the File name("My Best Picture.jpg"), the person should be redirected to that URL. How can I perform this task?

You can save the file to in the file system. When generating URL use HttpRequest.ApplicationPath and add the file name to the add. This will be your URL to the picture.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.