ftplib est un module qui permet de mettre en place un client FTP complet.
>>> import ftplib
Le code suivant...
>>> ftp=ftplib.FTP(adresseServeur) >>> ftp.login(login,motDePasse) >>> ftp.dir() >>> ftp.quit()
...permet :
adresseServeur, login, et motDePasse sont des chaînes de caractères.
Pour plus d’informations, help(ftplib).
This page may have a more recent version on pmwiki.org: PmWiki:UnePageAuHasard, and a talk page: PmWiki:UnePageAuHasard-Talk.