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