Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
296 B
4
Indexable
Never
from ftplib import FTP

# defining host address, username and password - you can get it from the partner's Podio

host = "ftp://ftp.dlptest.com/"
user = "dlpuser"
password = "rNrKYTX9g7z3RgJRmxWuGHbeu"

with FTP(host) as ftp:
    ftp.login(user=user, passwd=password)
    print(ftp.getwelcome())