title: Renaming a file on a remote file server in C# / Python
body: <p>I need to rename a whole heap of files on a Windows file server - I don't mind what language I use really as long it's quick and easy!</p>
  
  <p>I know it's basic but just to clarify - in pseudo-code...</p>
  
  <pre><code>server = login (fileserver, creds)
  
  foreach (file in server.navigateToDir(dir))
      rename(file)
  </code></pre>
  
  <p>I know how to do this in Python/C# if I was a local user but have no idea if it's even possible to do this remotely using Python. I've searched for code snippets/help but have found none yet.</p>
  
  <p>Thanks.</p>