简体   繁体   中英

How to get files from remote windows server with python?

I have multiple windows servers in an internal.network(meaning, not connected to the inte.net). At the moment, I am pulling files from these servers using Windows Remote Desktop, for each server I have an IP address, login & password.

My goal is to use Python to automate this process, I want to be able to run a script that will access these internal servers and get files from them.

Is there any Python module that handles such tasks, or how should I approach this problem?

Windows' file sharing protocol is called SMB. There are some python libraries for this; the first google result for me was this one: https://pysmb.readthedocs.io/en/latest/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM