globalscape/python/eftcom-getusedspace.py
2022-07-26 14:07:01 -05:00

9 lines
238 B
Python

import win32com.client as win32
from pathlib import Path
server = win32.gencache.EnsureDispatch('SFTPCOMInterface.CIServer')
server.ConnectEx('192.168.4.14', 1100, 0, 'a', 'QjIlmT4H')
a = server.ICIClientSettings.GetUsedSpace
print(a)