[Mono-devel-list] FileInfo.CopyTo overwrite argument

Patrick Kalkman kalkman at cistron.nl
Wed Apr 9 03:49:12 EDT 2003


Hello,

Has anybody use the CopyTo method from the FileInfo class in the System.IO
namespace ? I have a problem with the overwrite argument of the method, it
doesn´t seem to overwrite the file. No matter if I use true of false as
overwrite argument.

file.CopyTo(DestDir.FullName+file.Name,true);

I am using RedHat 8.0 with mono 0.21

Patrick





More information about the Mono-devel-list mailing list