Secure iNet Factory

com.jscape.inet.sftp.packets
Interface SshFxError


public interface SshFxError

The SFTP status codes.

Version:
1.0
Author:
Alex Usun

Field Summary
static int SSH_FX_BAD_MESSAGE
          May be returned if a badly formatted packet or protocol incompatibility is detected.
static int SSH_FX_CONNECTION_LOST
          Is a pseudo-error which indicates that the connection to the server has been lost (it can only be generated locally by the client, and MUST NOT be returned by servers).
static int SSH_FX_EOF
          Indicates end-of-file condition; for SSH_FX_READ it means that no more data is available in the file, and for SSH_FX_READDIR it indicates that no more files are contained in the directory.
static int SSH_FX_FAILURE
          Is a generic catch-all error message; it should be returned if an error occurs for which there is no more specific error code defined.
static int SSH_FX_NO_CONNECTION
          Is a pseudo-error which indicates that the client has no connection to the server (it can only be generated locally by the client, and MUST NOT be returned by servers).
static int SSH_FX_NO_SUCH_FILE
          Is returned when a reference is made to a file which should exist but doesn't.
static int SSH_FX_OK
          Indicates successful completion of the operation.
static int SSH_FX_OP_UNSUPPORTED
          Indicates that an attempt was made to perform an operation which is not supported for the server (it may be generated locally by the client if e.g.
static int SSH_FX_PERMISSION_DENIED
          Is returned when the authenticated user does not have sufficient permissions to perform the operation.
 

Field Detail

SSH_FX_OK

static final int SSH_FX_OK
Indicates successful completion of the operation.

See Also:
Constant Field Values

SSH_FX_EOF

static final int SSH_FX_EOF
Indicates end-of-file condition; for SSH_FX_READ it means that no more data is available in the file, and for SSH_FX_READDIR it indicates that no more files are contained in the directory.

See Also:
Constant Field Values

SSH_FX_NO_SUCH_FILE

static final int SSH_FX_NO_SUCH_FILE
Is returned when a reference is made to a file which should exist but doesn't.

See Also:
Constant Field Values

SSH_FX_PERMISSION_DENIED

static final int SSH_FX_PERMISSION_DENIED
Is returned when the authenticated user does not have sufficient permissions to perform the operation.

See Also:
Constant Field Values

SSH_FX_FAILURE

static final int SSH_FX_FAILURE
Is a generic catch-all error message; it should be returned if an error occurs for which there is no more specific error code defined.

See Also:
Constant Field Values

SSH_FX_BAD_MESSAGE

static final int SSH_FX_BAD_MESSAGE
May be returned if a badly formatted packet or protocol incompatibility is detected.

See Also:
Constant Field Values

SSH_FX_NO_CONNECTION

static final int SSH_FX_NO_CONNECTION
Is a pseudo-error which indicates that the client has no connection to the server (it can only be generated locally by the client, and MUST NOT be returned by servers).

See Also:
Constant Field Values

SSH_FX_CONNECTION_LOST

static final int SSH_FX_CONNECTION_LOST
Is a pseudo-error which indicates that the connection to the server has been lost (it can only be generated locally by the client, and MUST NOT be returned by servers).

See Also:
Constant Field Values

SSH_FX_OP_UNSUPPORTED

static final int SSH_FX_OP_UNSUPPORTED
Indicates that an attempt was made to perform an operation which is not supported for the server (it may be generated locally by the client if e.g. the version number exchange indicates that a required feature is not supported by the server, or it may be returned by the server if the server does not implement an operation).

See Also:
Constant Field Values

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved