Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

173a4d88-1163-458c-9903-379cb5c00b80 1.1 KB
Raw

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  1. from logging import Logger
  2. from typing import Any, Dict, Optional, Type
  3. from paramiko.channel import Channel
  4. from paramiko.server import ServerInterface, SubsystemHandler
  5. from paramiko.sftp import BaseSFTP
  6. from paramiko.sftp_attr import SFTPAttributes
  7. from paramiko.sftp_handle import SFTPHandle
  8. from paramiko.sftp_si import SFTPServerInterface
  9. from paramiko.transport import Transport
  10. class SFTPServer(BaseSFTP, SubsystemHandler):
  11. logger: Logger
  12. ultra_debug: bool
  13. next_handle: int
  14. file_table: Dict[bytes, SFTPHandle]
  15. folder_table: Dict[bytes, SFTPHandle]
  16. server: SFTPServerInterface
  17. sock: Optional[Channel]
  18. def __init__(
  19. self, channel: Channel, name: str, server: ServerInterface, sftp_si: Type[SFTPServerInterface], *largs: Any, **kwargs: Any
  20. ) -> None: ...
  21. def start_subsystem(self, name: str, transport: Transport, channel: Channel) -> None: ...
  22. def finish_subsystem(self) -> None: ...
  23. @staticmethod
  24. def convert_errno(e: int) -> int: ...
  25. @staticmethod
  26. def set_file_attr(filename: str, attr: SFTPAttributes) -> None: ...
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...