C# File.Copy from remote computer to local
<p>When I try to copy an existing file from a remote computer to local with</p>

<pre><code>File.Copy(
string.Format(@"\\{0}\e$\{1}", computerName, fileName), 
string.Format(@"{0}\{1}\{2}", localPath, computerName, fileName), 
true);
</code></pre>

<p>I get the Exception <code>Could not find part of the path "\\computername\e$\filename"</code>. I checked the path and it's correct.</p>

<p>I don't think that is a permission problem beacuse I can reach the file with <code>Directory.GetFiles</code> and I can obtain info like file size or last writing date with <code>FileInfo</code>, moreover when I execute xcopy command from cmd with the same paths in the code he copies the file sucessfully.</p>

<p>Can anyone help me to understand what I do wrong or other ways to copy file?</p>