Author: shaimonu | Posted on: 3/6/2009 12:39:16 AM | Views : 242

Hello Guys,
I am trying to move(Cut) one file from one folder and tranfer to another folder using System.IO.
Here is My Code
FileInfo fiThumb = new FileInfo(tPhysicalPath);
if (fiThumb.Exists)
{
File.Move(tPhysicalPath, strNewPhysicalPath);
}

I am getting Error while Doing this  - Cannot create a file when that file already exists.

Please give me Suggestion how to move files .Help needed Urgently !!
Thanks.

 
...

Go to the complete details ...