From what i understand for asp.net FileUpload.FileName ruturns the full path while in firefox it returns just the filename. How would i remove the path from the returned string as i just need the html encoded filename.
From what i understand for asp.net FileUpload.FileName ruturns the full path while in firefox
Share
You can use the Path static class to get the filename.
And the HttpUtility static class to encode it.