FTPS connection¶
Bases: FTP
Based on FTPUtil library.
Warning
Since onETL v0.7.0 to use FTPS connector you should install package as follows:
pip install "onetl[ftps]"
# or
pip install "onetl[files]"
Added in 0.1.0
Parameters:
-
host(str) –Host of FTPS source. For example:
ftps.domain.com -
port(int, default:21) –Port of FTPS source
-
user(str, default:None) –User, which have access to the file source. For example:
someuser.Nonemeans that the user is anonymous. -
password(str, default:None) –Password for file source connection.
Nonemeans that the user is anonymous.
Examples:
Create and check FTPS connection:
from onetl.connection import FTPS
ftps = FTPS(
host="ftps.domain.com",
user="someuser",
password="*****",
).check()