How to delete a directory tree in FTP
hiaips
rosedb0 at gmail.com
Wed Aug 16 19:04:03 EDT 2006
T wrote:
> I connect to a FTP server which can be either unix or windows server.
> Once in the FTP session, I would like to delete a directory tree on the
> server. Is there a command that will do this? If not, can someone
> point me to a right direction?
>
> Thanks!
Try using an "FTP" object from the ftplib module. There's a "delete"
method there (along with several other useful things.)
--dave
More information about the Python-list
mailing list