| 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 typing import Any
from paramiko.server import ServerInterface
from paramiko.sftp_attr import SFTPAttributes
from paramiko.sftp_handle import SFTPHandle
class SFTPServerInterface:
def __init__(self, server: ServerInterface, *largs: Any, **kwargs: Any) -> None: ...
def session_started(self) -> None: ...
def session_ended(self) -> None: ...
def open(self, path: str, flags: int, attr: SFTPAttributes) -> SFTPHandle | int: ...
def list_folder(self, path: str) -> list[SFTPAttributes] | int: ...
def stat(self, path: str) -> SFTPAttributes | int: ...
def lstat(self, path: str) -> SFTPAttributes | int: ...
def remove(self, path: str) -> int: ...
def rename(self, oldpath: str, newpath: str) -> int: ...
def posix_rename(self, oldpath: str, newpath: str) -> int: ...
def mkdir(self, path: str, attr: SFTPAttributes) -> int: ...
def rmdir(self, path: str) -> int: ...
def chattr(self, path: str, attr: SFTPAttributes) -> int: ...
def canonicalize(self, path: str) -> str: ...
def readlink(self, path: str) -> str | int: ...
def symlink(self, target_path: str, path: str) -> int: ...