If you can use the sftp client, it is provided with paramiko ... however sftp and ftp over ssl (ftps) are different ...
import paramiko as pm import socket
My googling indicates that ftp over ssl may be available in ftplib , although I have not tried this mechanism myself ... FTP_TLS method was added only in python 2.7
Mike pennington
source share