Package paramiko :: Module sftp
[frames] | no frames]

Module sftp

source code

Variables
  SFTP_OK = 0
  SFTP_DESC = ['Success', 'End of file', 'No such file', 'Permis...
  SFTP_FLAG_READ = 1
  SFTP_FLAG_WRITE = 2
  SFTP_FLAG_APPEND = 4
  SFTP_FLAG_CREATE = 8
  SFTP_FLAG_TRUNC = 16
  SFTP_FLAG_EXCL = 32
  CMD_NAMES = {1: 'init', 2: 'version', 3: 'open', 4: 'close', 5...
  AUTH_FAILED = 2
  AUTH_PARTIALLY_SUCCESSFUL = 1
  AUTH_SUCCESSFUL = 0
  CMD_ATTRS = 105
  CMD_CLOSE = 4
  CMD_DATA = 103
  CMD_EXTENDED = 200
  CMD_EXTENDED_REPLY = 201
  CMD_FSETSTAT = 10
  CMD_FSTAT = 8
  CMD_HANDLE = 102
  CMD_INIT = 1
  CMD_LSTAT = 7
  CMD_MKDIR = 14
  CMD_NAME = 104
  CMD_OPEN = 3
  CMD_OPENDIR = 11
  CMD_READ = 5
  CMD_READDIR = 12
  CMD_READLINK = 19
  CMD_REALPATH = 16
  CMD_REMOVE = 13
  CMD_RENAME = 18
  CMD_RMDIR = 15
  CMD_SETSTAT = 9
  CMD_STAT = 17
  CMD_STATUS = 101
  CMD_SYMLINK = 20
  CMD_VERSION = 2
  CMD_WRITE = 6
  CONNECTION_FAILED_CODE = {1: 'Administratively prohibited', 2:...
  CRITICAL = 50
  DEBUG = 10
  DISCONNECT_AUTH_CANCELLED_BY_USER = 13
  DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE = 14
  DISCONNECT_SERVICE_NOT_AVAILABLE = 7
  ERROR = 40
  INFO = 20
  MSG_CHANNEL_CLOSE = 97
  MSG_CHANNEL_DATA = 94
  MSG_CHANNEL_EOF = 96
  MSG_CHANNEL_EXTENDED_DATA = 95
  MSG_CHANNEL_FAILURE = 100
  MSG_CHANNEL_OPEN = 90
  MSG_CHANNEL_OPEN_FAILURE = 92
  MSG_CHANNEL_OPEN_SUCCESS = 91
  MSG_CHANNEL_REQUEST = 98
  MSG_CHANNEL_SUCCESS = 99
  MSG_CHANNEL_WINDOW_ADJUST = 93
  MSG_DEBUG = 4
  MSG_DISCONNECT = 1
  MSG_GLOBAL_REQUEST = 80
  MSG_IGNORE = 2
  MSG_KEXINIT = 20
  MSG_NAMES = {1: 'disconnect', 2: 'ignore', 3: 'unimplemented',...
  MSG_NEWKEYS = 21
  MSG_REQUEST_FAILURE = 82
  MSG_REQUEST_SUCCESS = 81
  MSG_SERVICE_ACCEPT = 6
  MSG_SERVICE_REQUEST = 5
  MSG_UNIMPLEMENTED = 3
  MSG_USERAUTH_BANNER = 53
  MSG_USERAUTH_FAILURE = 51
  MSG_USERAUTH_INFO_REQUEST = 60
  MSG_USERAUTH_INFO_RESPONSE = 61
  MSG_USERAUTH_PK_OK = 60
  MSG_USERAUTH_REQUEST = 50
  MSG_USERAUTH_SUCCESS = 52
  OPEN_FAILED_ADMINISTRATIVELY_PROHIBITED = 1
  OPEN_FAILED_CONNECT_FAILED = 2
  OPEN_FAILED_RESOURCE_SHORTAGE = 4
  OPEN_FAILED_UNKNOWN_CHANNEL_TYPE = 3
  OPEN_SUCCEEDED = 0
  PY22 = False
  SFTP_BAD_MESSAGE = 5
  SFTP_CONNECTION_LOST = 7
  SFTP_EOF = 1
  SFTP_FAILURE = 4
  SFTP_NO_CONNECTION = 6
  SFTP_NO_SUCH_FILE = 2
  SFTP_OP_UNSUPPORTED = 8
  SFTP_PERMISSION_DENIED = 3
  WARNING = 30
  __package__ = 'paramiko'
  randpool = StrongLockingRandomPool()
Variables Details

SFTP_DESC

Value:
['Success',
 'End of file',
 'No such file',
 'Permission denied',
 'Failure',
 'Bad message',
 'No connection',
 'Connection lost',
...

CMD_NAMES

Value:
{1: 'init',
 2: 'version',
 3: 'open',
 4: 'close',
 5: 'read',
 6: 'write',
 7: 'lstat',
 8: 'fstat',
...

CONNECTION_FAILED_CODE

Value:
{1: 'Administratively prohibited',
 2: 'Connect failed',
 3: 'Unknown channel type',
 4: 'Resource shortage'}

MSG_NAMES

Value:
{1: 'disconnect',
 2: 'ignore',
 3: 'unimplemented',
 4: 'debug',
 5: 'service-request',
 6: 'service-accept',
 20: 'kexinit',
 21: 'newkeys',
...