Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/MySQL/MySQL Workbench 6.1 CE/python/site-packages/paramiko/ |
Upload File : |
ó ¤'Sc @ sF d d l Z d d l Z d d l Td d l Td e f d „ ƒ YZ d S( iÿÿÿÿN( t *t SFTPAttributesc B s e Z d Z d Z d Z d Z d Z d Z d „ Z d d „ Z e e ƒ Z d „ Z d d d „ Z e e ƒ Z d „ Z d „ Z d „ Z e d „ Z e e ƒ Z d „ Z RS( sO Representation of the attributes of a file (or proxied file) for SFTP in client or server mode. It attemps to mirror the object returned by C{os.stat} as closely as possible, so it may have the following fields, with the same meanings as those returned by an C{os.stat} object: - st_size - st_uid - st_gid - st_mode - st_atime - st_mtime Because SFTP allows flags to have other arbitrary named attributes, these are stored in a dict named C{attr}. Occasionally, the filename is also stored, in C{filename}. i i i i l c C sL d | _ d | _ d | _ d | _ d | _ d | _ d | _ i | _ d S( sX Create a new (empty) SFTPAttributes object. All fields will be empty. i N( t _flagst Nonet st_sizet st_uidt st_gidt st_modet st_atimet st_mtimet attr( t self( ( s^ C:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE/python/site-packages\paramiko\sftp_attr.pyt __init__1 s c C sm | ƒ } | j | _ | j | _ | j | _ | j | _ | j | _ | j | _ | d k ri | | _ n | S( s« Create an SFTPAttributes object from an existing C{stat} object (an object returned by C{os.stat}). @param obj: an object returned by C{os.stat} (or equivalent). @type obj: object @param filename: the filename associated with this file. @type filename: str @return: new L{SFTPAttributes} object with the same attribute fields. @rtype: L{SFTPAttributes} N( R R R R R R R t filename( t clst objR R ( ( s^ C:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE/python/site-packages\paramiko\sftp_attr.pyt from_stat>