title: how to Copy Images from Main Domain to Subdomain Folder in c#
body: <p>I am trying to copy my files from main domain to sub-domain folded </p>
  
  <p>i used to the code as below </p>
  
  <pre><code>CopyFiles("http://192.168.10.119:8010/1.jpg", "http://192.168.10.120:8010/TestFolder/1.jpg");
  
   public void CopyFiles(string sourcePath, string destinationPath)
      {
          string[] files = System.IO.Directory.GetFiles(sourcePath);
          Parallel.ForEach(files, file =&gt;
          {
              System.IO.File.Copy(file, System.IO.Path.Combine(destinationPath, System.IO.Path.GetFileName(file)));
  
          });
      }
  </code></pre>
  
  <p>then i got a error :</p>
  
  <blockquote>
    <p><strong>URI formats are not supported.</strong></p>
  </blockquote>
  
  <p>Can any one give a solution to this issue. Thanks :)</p>