| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/paramiko-stubs/ |
Upload File : |
from collections.abc import Iterator, Sequence
from typing import Any
from paramiko.file import BufferedFile
from paramiko.message import _LikeBytes
from paramiko.sftp_attr import SFTPAttributes
from paramiko.sftp_client import SFTPClient
from paramiko.sftp_handle import SFTPHandle
class SFTPFile(BufferedFile[Any]):
MAX_REQUEST_SIZE: int
sftp: SFTPClient
handle: SFTPHandle
pipelined: bool
def __init__(self, sftp: SFTPClient, handle: _LikeBytes, mode: str = "r", bufsize: int = -1) -> None: ...
def __del__(self) -> None: ...
def close(self) -> None: ...
def settimeout(self, timeout: float) -> None: ...
def gettimeout(self) -> float: ...
def setblocking(self, blocking: bool) -> None: ...
def seekable(self) -> bool: ...
def seek(self, offset: int, whence: int = 0) -> None: ...
def stat(self) -> SFTPAttributes: ...
def chmod(self, mode: int) -> None: ...
def chown(self, uid: int, gid: int) -> None: ...
def utime(self, times: tuple[float, float] | None) -> None: ...
def truncate(self, size: int) -> None: ...
def check(self, hash_algorithm: str, offset: int = 0, length: int = 0, block_size: int = 0) -> bytes: ...
def set_pipelined(self, pipelined: bool = True) -> None: ...
def prefetch(self, file_size: int | None = None, max_concurrent_requests: int | None = None) -> None: ...
def readv(
self, chunks: Sequence[tuple[int, int]], max_concurrent_prefetch_requests: int | None = None
) -> Iterator[bytes]: ...