简体   繁体   English

如何从远程Windows服务器下载文件

[英]How to download files from remote windows server

What would be the best way of downloading / uploading files / directory to / from remote windows server and local windows machine using python scripting language? 使用python脚本语言从远程Windows服务器和本地Windows计算机上将文件/目录下载/上传到/从远程Windows服务器和本地Windows计算机上上传/目录的最佳方法是什么?

Modules I heard of are paramiko and fabric... 我听说过的模块是paramiko和fabric ...

Apart from these any other good option/choice? 除了这些其他好的选择/选择?

It depends on the protocol you are using, if the file is big, use UDP, if the file is small use TCP, if the file is small use SSH. 这取决于您使用的协议,如果文件很大,请使用UDP,如果文件很小,请使用TCP,如果文件很小,请使用SSH。 You don's necessarily need paramiko or fabric to communicate with another computer, since they are for ssh connections. 您不一定需要paramiko或Fabric与另一台计算机进行通信,因为它们用于ssh连接。 If you know the protocol, then it is easier to communicate. 如果您知道该协议,则通信会更容易。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 python 从远程 windows 服务器获取文件? - How to get files from remote windows server with python? 使用python将文件下载/上传到远程Windows服务器 - download/upload files to remote windows server using python SFTP:从远程服务器递归复制/下载文件夹中的所有文件 - SFTP: Copy/Download all files in a folder recursively from remote server 如何将文件从远程Windows服务器获取到本地Windows计算机目录? - How to get files from Remote windows server to local Windows machine directory? 如何从Windows系统将文件从python脚本复制到任何其他远程服务器? - How do I copy files from windows system to any other remote server from python script? 如何从远程服务器检索文件目录? - How to retrieve a directory of files from a remote server? 仅从 Python 中的远程 SFTP 服务器下载新文件,忽略文件扩展名 - Download new files only, ignoring file extensions, from remote SFTP server in Python 如何将远程文件复制/下载到本地(sftp)? - How to copy/download remote files to local (sftp)? 如何使用sqlalchemy从ubuntu连接远程Windows MSSQL服务器 - how to connect remote windows MSSQL server from ubuntu using sqlalchemy 如何从 python 连接到远程 (windows) 服务器上的 MSSQL 数据库? - How to connect to a MSSQL database on a remote (windows) server from python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM