开发者

Python 3.x and SFTP

I know that the Paramiko api exists for Python 2.x. Is there an emerging method for interacting with a remote server using SFTP functions from within a Python 3.1 script? Extensive searching of the paramiko site uncovered no evidence of 3.x support. If not, I will either use Python-2.x with Paramiko for my remote access, or maybe just use subprocess.popen() or sim开发者_C百科ilar with Python 3.


I had a similar issue with not being able to install paramiko for some reason (don't remember now), and implemented a wrapper for putty's SFTP implmentation, it's in python 2.x, but you may be able to get some reference value from it.

http://psftplib.googlecode.com/svn/trunk/psftplib.py

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜