Matiki Mahlangu

Matiki Mahlangu

  • NA
  • 42
  • 6.5k

How to return a link referencing to uploaded file?

Jul 31 2019 1:40 AM
I'm new to ASP.net.
I have created a contact form using ASP.net C# and allowing the clients to attach the file. I upload the file to the folder "~/Uploads/". How do i return the link referencing to this file for later download?
After i upload the file i want to email the link referencing/linked to the file attached and when you click the link it take you straigh to the file as downloaded or it opens the file.

Answers (3)