The NetIO Error field is usually zero, which indicates a successful operation. When the field is not zero, the more likely entries are:
Connection failures: The following errors are connection failures usually, but they can occur on any call.
- UNKNOWN_HOST (host lookup failed)
- CONNECT_FAILED (Should provide more detailed syndrome)
- TIMED_OUT (A network operation timed out)
- LOGIN_FAILED (Authentication failed)
- PROTOCOL_ERROR (Server and client don't agree on the protocol)
Net I/O state failures: These failures are all Net I/O state issues. They are independent of a protocol, but protocols can use these errors.
- UNKNOWN_PROTOCOL (Could not load an appropriate protocol library)
- CHANNEL_OPEN (Tried to open an already open channel)
- CHANNEL_CLOSED (Tried to do an operation on a closed channel)
- OPERATION_PENDING (Tried to do an operation before a sync upleted)
- BAD_PARAMETERS (An argument to a call is incorrect)
- RESOURCE_EXISTS (Attempt to create a file/directory, where one exists)
- RESOURCE_DOESNT_EXIST (File/directory not found, and so on)
- RESOURCE_IN_USE (File/directory open/locked/CD'ed to, and so on)
- ACCESS_DENIED (Permissions, or likely permissions failure)
- OUT_OF_DISK (Out of quota or capacity)
- NOT_EMPTY (Attempt to remove a nonempty directory)
- NOT_DIRECTORY (Attempt to do a directory operation on a file)
- NOT_FILE (Attempt to do a file operation on a directory)
- BAD_PATHNAME (The protocol did not like the characters in the path 1name)
- NOT_IMPLEMENTED (Protocol doesn't implement operation)
- NOT_LOCKED (Resource is not locked)
- LOCKED (Resource already locked)
- METHOD_NOT_ALLOWED (Issuing an unsupported method against the remote server. For example, webdav call on a webdav-disabled server)
- RESOURCE_REDIRECTED (Resource redirected)
- OUT_OF_MEMORY (Contribute memory failure)
- CANCELED (Cancel was called before operation completed)
Server errors: Both of the following errors have syndrome information of some sort. Normally, server errors show up as TIMED_OUT, but occasionally the server reports problems as a disk error.
- LOCAL_IO_ERROR (Error reading or writing stream passed in)
- REMOTE_IO_ERROR (Error reading or writing remote resource)