Secure iNet Factory

com.jscape.inet.sftp.packets
Class SshFxError

java.lang.Object
  extended by com.jscape.inet.sftp.packets.SshFxError

public class SshFxError
extends java.lang.Object

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.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_FX_OK

public static final int SSH_FX_OK
Indicates successful completion of the operation.

See Also:
Constant Field Values

SSH_FX_EOF

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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