I'm using the HttpFileCollection class for uploading multiple files with code such as the following
HttpFileCollection hfc = Request.Files;
foreach (string h in hfc.AllKeys)
When I specifiy a filename with hfc[h].FileName I get the full path of the file such as C:\Misc\file1.jpg. Is there a way to only get the file1.jpg instead?
...
Go to the complete details ...