philh_myftp_biz.web.ftp

Module Contents

Classes

FTPPath

FTP

_cd

API

class philh_myftp_biz.web.ftp.FTPPath
ftp: FTP = None
path: str = None
__str__() str
__repr__ = None
download(local: philh_myftp_biz.pc.Path) None
cd() philh_myftp_biz.web.ftp._cd
property is_dir: bool
property is_file: bool
property exists: bool
child(name: str) philh_myftp_biz.web.ftp.FTPPath
children() Generator[philh_myftp_biz.web.ftp.FTPPath, None, None]
descendants() Generator[philh_myftp_biz.web.ftp.FTPPath, None, None]
seg(i: int = -1) str
property ext: str | None
name() str
property size: int
class philh_myftp_biz.web.ftp.FTP
host: str = None
username: str = None
password: str = None
timeout: None | int = 300
port: int = 21
passive: bool = True
_client()
cd(path: philh_myftp_biz.web.ftp.FTPPath) None
property cwd: philh_myftp_biz.web.ftp.FTPPath
Path(path: str) philh_myftp_biz.web.ftp.FTPPath
class philh_myftp_biz.web.ftp._cd
ftp: philh_myftp_biz.web.ftp.FTP = None
path: philh_myftp_biz.web.ftp.FTPPath = None
__via_with = False
__enter__() None
__exit__(*_) None
open() None

Change CWD to the given path

back() None

Change CWD to the previous path