Saves the file on a local disk.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | path or fileName is null |
| ArgumentException | path of fileName 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