You should try the paramiko package for that (http://www.lag.net/paramiko/) A google search on that package & SFTP got me this example: http://commandline.org.uk/python/sftp-python/
Cheers Jorge On Fri, Jan 9, 2009 at 1:20 PM, loial <jldunn2...@googlemail.com> wrote: > On 8 Jan, 18:49, Mike Hjorleifsson <mhjorleifs...@gmail.com> wrote: > > On Jan 8, 10:39 am, loial <jldunn2...@googlemail.com> wrote: > > > > > Is it possible to usesftpwithout a password from python? > > > > Yes you can use keys you preestablish between the server and client so > > you dont need passwords, i do this on all my servers then lock off the > > ability to accept passwords at all, this way no one can dictionary > > attack my ssh servers. > > Thanks...do you have any python examples of using sftp? > > -- > http://mail.python.org/mailman/listinfo/python-list > -- -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination.
-- http://mail.python.org/mailman/listinfo/python-list