Hi -
I am attempting, in VS2012/C#, to do a simple file move from one server location to a location on a different server:
System.IO.File.Move(origPathAndName, newPathAndName);
The value in origPathAndName originates from this action:
string[] fileNameCollection =Directory.GetFiles(sourcePath);
However, the move fails with the "Could not find file" exception seen below. Yet if I place the following in the address pane of a browser I do arrive at the PDF: \\main1bop\FTP\PINConfStmt\DEV\00014.confstmt_2013-06-24.pdf
I've done the obvious: confirmed that the file exists, the syntax, etc. etc. and I believe if this was a permissions error it would throw a permissions-specific exception.
Any thoughts?