module Net::SFTP::Constants::PacketTypes

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

The various packet types supported by SFTP protocol versions 1 through 6. The FXP_EXTENDED and FXP_EXTENDED_REPLY packet types are not currently understood by Net::SFTP.

Constants

FXP_ATTRS = 105  
FXP_BLOCK = 22  
FXP_CLOSE = 4  
FXP_DATA = 103  
FXP_EXTENDED = 200  
FXP_EXTENDED_REPLY = 201  
FXP_FSETSTAT = 10  
FXP_FSTAT = 8  
FXP_HANDLE = 102  
FXP_INIT = 1  
FXP_LINK = 21  
FXP_LSTAT = 7  
FXP_MKDIR = 14  
FXP_NAME = 104  
FXP_OPEN = 3  
FXP_OPENDIR = 11  
FXP_READ = 5  
FXP_READDIR = 12  
FXP_READLINK = 19  
FXP_REALPATH = 16  
FXP_REMOVE = 13  
FXP_RENAME = 18  
FXP_RMDIR = 15  
FXP_SETSTAT = 9  
FXP_STAT = 17  
FXP_STATUS = 101  
FXP_SYMLINK = 20  
FXP_UNBLOCK = 23  
FXP_VERSION = 2  
FXP_WRITE = 6