Saves the file on a local disk. The remote file name will be used.
Exception Type | Condition |
---|---|
ArgumentNullException | path is null |
ArgumentException | path is empty |
IOException | the file could not be saved |
UnauthorizedAccessException | Insufficient provileges to create the file |
DirectoryNotFoundException | the path is not valid |
PathTooLongException | the full file name (path + fileName) is too long |
HttpPostedFile Class | Hevea.Core.Http Namespace | HttpPostedFile.SaveToLocalDisk Overload List