Hi, I have an upload function which saves attchments to a folder. I am trying to access the uploaded attachments using Process.Start to open them.
This worked fine when local but now its on the web server it no longer works. Im presuming it becuase of Process.Start. My issues is that I get the error that it cant locate the folder/file but im sure its mapped properly.
Any ideas why its doing this or how to overcome it?
string Location = "~\\Attachments\\";
string File = lblLink.Text;
Process.Start(Location + File);
//lblLink.Text = Location + File;
//Debug.Write (Location + File);
//Console.WriteLine(Location + File);