Python 3.x 和 SFTP
我知道 Python 2.x 存在 Paramiko
api。是否有一种新兴方法可以在 Python 3.1 脚本中使用 SFTP
函数与远程服务器进行交互?对 paramiko
站点的广泛搜索没有发现 3.x 支持的证据。 如果没有,我将使用带有 Paramiko
的 Python-2.x 进行远程访问,或者仅使用 subprocess.popen()
或类似的 Python 3。
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 similar with Python 3.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了类似的问题,由于某种原因无法安装 paramiko(现在不记得了),并为 putty 的 SFTP 实现实现了一个包装器,它位于 python 2.x 中,但您也许可以从中获得一些参考价值它。
http://psftplib.googlecode.com/svn/trunk/psftplib.py
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