🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 06:27:11 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
paramiko
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/paramiko/__pycache__
🔄 Refresh
✏️
Editing: sftp_handle.cpython-38.pyc
Read Only
U v��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<