File.Move and File.Copy gives IOException Logon failure
问题 I'm writing an add-in for a fujitsu scanner in C#. Documents are scanned to a local directory, and I wanted to copy them to a pc on the network. I keep getting System.IO.IOException: Logon failure: unknown user name or bad password though. I tried copying them to a public directory (at least I think its public), and I still get the same result. Any ideas for stuff I could try? I don't think my code here is the issue, but here it is anyway. private bool moveTheFile(String source, String