win32net.NetFileClose

NetFileClose(servername, fileid)

Closes an open network resource on a server

Parameters

servername : string/PyUnicode

Name of server on which to operate, local machine assumed if None

fileid : int

Id of opened resource, as returned by win32net::NetFileEnum