I am using wmi module in python for network connection. I need to read all files which are present in network computer drives. So give me suggestion how can i do by using wmi module.
I have done connection by below code and now i need to read files inside network computer drive.
import wmi
ip = '192.168.1.18'
username = 'xxxxxx'
password = 'xxxxxx'
connection = wmi.WMI(ip, user=username, password=password)
for disk in connection.Win32_LogicalDisk (DriveType=3):
print disk.Caption