HttpPostedFile.saveas(filename) issue when the filename is used "-" as a part of the filename.

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I have a issue with "HttpPostedFile.SaveAs(filename)".
when the filename is used "-" as a part of the filename then
"HttpPostedFile.SaveAs(filename)" doesn't work.
I add try and catch function however it doesn't catch any error.
Anyone has a idea why and solution for this?

Thanks!
 
Back
Top