Module: SFTPServer::SSH::API::SFTPStatus

Defined in:
lib/sftp_server/ssh/api.rb

Overview

/**

  • @name Server responses

*

  • @brief Responses returned by the sftp server.

  • @{

*/

Constant Summary collapse

SSH_FX_OK =

/** No error */

0
SSH_FX_EOF =

/** End-of-file encountered */

1
SSH_FX_NO_SUCH_FILE =

/** File doesn’t exist */

2
SSH_FX_PERMISSION_DENIED =

/** Permission denied */

3
SSH_FX_FAILURE =

/** Generic failure */

4
SSH_FX_BAD_MESSAGE =

/** Garbage received from server */

5
SSH_FX_NO_CONNECTION =

/** No connection has been set up */

6
SSH_FX_CONNECTION_LOST =

/** There was a connection, but we lost it */

7
SSH_FX_OP_UNSUPPORTED =

/** Operation not supported by the server */

8
SSH_FX_INVALID_HANDLE =

/** Invalid file handle */

9
SSH_FX_NO_SUCH_PATH =

/** No such file or directory path exists */

10
SSH_FX_FILE_ALREADY_EXISTS =

/** An attempt to create an already existing file or directory has been made */

11
SSH_FX_WRITE_PROTECT =

/** We are trying to write on a write-protected filesystem */

12
SSH_FX_NO_MEDIA =

/** No media in remote drive */

13