Python & autoftp
Michael Gilfix
mgilfix at eecs.tufts.edu
Tue Apr 23 11:43:17 EDT 2002
You'll want to use the ftplib python module. It
allows you to establish ftp connections and control
them programmatically. Check out the library docs at:
http://www.python.org/doc/current/lib/module-ftplib.html.
This is by far more robust than using bash and expect
since it doesn't rely on an external program and its
possibly changing interface.
-- Mike
On Tue, Apr 23 @ 08:20, kevin wrote:
> Hi there
>
> I'm pretty new to Python and I would like to develop a script in
> Python to automatically FTP. I have already used bash and expect and
> now would like to replace bash entirely with Python.
>
> Is there any merit in replacing bash with Python??
> Can anyone point me in the right direction.
>
>
> Thanks
>
>
> Kevin
> --
> http://mail.python.org/mailman/listinfo/python-list
`-> (davies)
--
Michael Gilfix
mgilfix at eecs.tufts.edu
For my gpg public key:
http://www.eecs.tufts.edu/~mgilfix/contact.html
More information about the Python-list
mailing list