module Net::SFTP::Constants::StatusCodes

  1. lib/net/sftp/constants.rb
Parent: Constants

When an FXP_STATUS packet is received from the server, the code will be one of the following constants.

Constants

FX_BAD_MESSAGE = 5  
FX_CONNECTION_LOST = 7  
FX_DIR_NOT_EMPTY = 18  
FX_EOF = 1  
FX_FAILURE = 4  
FX_FILE_ALREADY_EXISTS = 11  
FX_INVALID_FILENAME = 20  
FX_INVALID_HANDLE = 9  
FX_LINK_LOOP = 21  
FX_LOCK_CONFlICT = 17  
FX_NOT_A_DIRECTORY = 19  
FX_NO_CONNECTION = 6  
FX_NO_MEDIA = 13  
FX_NO_SPACE_ON_FILESYSTEM = 14  
FX_NO_SUCH_FILE = 2  
FX_NO_SUCH_PATH = 10  
FX_OK = 0  
FX_OP_UNSUPPORTED = 8  
FX_PERMISSION_DENIED = 3  
FX_QUOTA_EXCEEDED = 15  
FX_UNKNOWN_PRINCIPLE = 16  
FX_WRITE_PROTECT = 12