Enum DownloadInterruptionReason
- Namespace
- DotNetBrowser.Downloads.Events
- Assembly
- DotNetBrowser.dll
Possible download interruption reason.
public enum DownloadInterruptionReason
Fields
Crash = 50The browser crashed. Internal use only: resume pending downloads if possible.
FileAccessDenied = 3The file cannot be accessed due to security restrictions. "Access Denied".
FileBlocked = 11The file was blocked due to local policy. "Blocked"
FileFailed = 2Generic file operation failure. "File Error".
FileHashMismatch = 14The partial file didn't match the expected hash.
FileNameTooLong = 5The directory or file name is too long. "Path Too Long".
FileNoSpace = 4There is not enough room on the drive. "Disk Full".
FileSameAsSource = 15The source and the target of the download were the same
FileSecurityCheckFailed = 12An attempt to check the safety of the download failed due to unexpected reasons. See http:///crbug.com/153212.
FileTooLarge = 6The file is too large for the file system to handle. "File Too Large".
FileTooShort = 13An attempt was made to seek past the end of a file in opening a file (as part of resuming a previously interrupted download).
FileTransientError = 10The file was in use. Too many files are opened at once. We have run out of memory. "Temporary Problem".
FileVirusInfected = 7The file contains a virus. "Virus".
NetworkDisconnected = 22The network connection has been lost. "Connection Lost".
NetworkFailed = 20Generic network failure. "Network Error".
NetworkInvalidRequest = 24The network request was invalid. This may be due to the original URL or a redirected URL:
- Having an unsupported scheme.
- Being an invalid URL.
- Being disallowed by policy.
NetworkServerDown = 23The server has gone down. "Server Down".
NetworkTimeout = 21The network operation timed out. "Operation Timed Out".
ServerBadContent = 33The server does not have the requested data. "Unable to get file".
ServerCertProblem = 35Server certificate problem.
ServerContentLengthMismatch = 38The server sent fewer bytes than the content-length header. It may indicate that the connection was closed prematurely, or the Content-Length header was invalid. The download is only interrupted if strong validators are present. Otherwise, it is treated as finished.
ServerFailed = 30The server indicates that the operation has failed (generic). "Server Error".
ServerForbidden = 36Server access forbidden.
ServerNoRange = 31The server does not support range requests. Internal use only: must restart from the beginning.
Server didn't authorize access to resource.
ServerUnreachable = 37Unexpected server response. This might indicate that the responding server may not be the intended server.
Unknown = 1There is no interruption reason.
UserCanceled = 40The user canceled the download. "Canceled".
UserShutdown = 41The user shut down the browser. Internal use only: resume pending downloads if possible.