Click or drag to resize

DownloadInterruptionReason Enumeration

Possible download interruption reason.

Namespace:  DotNetBrowser.Downloads.Events
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
public enum DownloadInterruptionReason
Members
  Member nameValueDescription
Unknown1 There is no interruption reason.
FileFailed2 Generic file operation failure. "File Error".
FileAccessDenied3 The file cannot be accessed due to security restrictions. "Access Denied".
FileNoSpace4 There is not enough room on the drive. "Disk Full".
FileNameTooLong5 The directory or file name is too long. "Path Too Long".
FileTooLarge6 The file is too large for the file system to handle. "File Too Large".
FileVirusInfected7 The file contains a virus. "Virus".
FileTransientError10 The file was in use. Too many files are opened at once. We have run out of memory. "Temporary Problem".
FileBlocked11 The file was blocked due to local policy. "Blocked"
FileSecurityCheckFailed12 An attempt to check the safety of the download failed due to unexpected reasons. See http:///crbug.com/153212.
FileTooShort13 An attempt was made to seek past the end of a file in opening a file (as part of resuming a previously interrupted download).
FileHashMismatch14 The partial file didn't match the expected hash.
FileSameAsSource15 The source and the target of the download were the same
NetworkFailed20 Generic network failure. "Network Error".
NetworkTimeout21 The network operation timed out. "Operation Timed Out".
NetworkDisconnected22 The network connection has been lost. "Connection Lost".
NetworkServerDown23 The server has gone down. "Server Down".
NetworkInvalidRequest24 The 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.
ServerFailed30 The server indicates that the operation has failed (generic). "Server Error".
ServerNoRange31 The server does not support range requests. Internal use only: must restart from the beginning.
ServerBadContent33 The server does not have the requested data. "Unable to get file".
ServerUnauthorized34 Server didn't authorize access to resource.
ServerCertProblem35 Server certificate problem.
ServerForbidden36 Server access forbidden.
ServerUnreachable37 Unexpected server response. This might indicate that the responding server may not be the intended server.
ServerContentLengthMismatch38 The 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.
UserCanceled40 The user canceled the download. "Canceled".
UserShutdown41 The user shut down the browser. Internal use only: resume pending downloads if possible.
Crash50 The browser crashed. Internal use only: resume pending downloads if possible.
See Also