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

Gonzalo Paniagua Javier gonzalo at ximian.com
Wed Apr 9 11:44:07 EDT 2003


El mié, 09 de 04 de 2003 a las 09:49, Patrick Kalkman escribió:
> 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

Huh. Current mono release is 0.23.

But, anyway, if you can get a simple test case that reproduces the
problem, please fill a bug report in bugzilla and we'll check it.

Thanks!

-Gonzalo





More information about the Mono-devel-list mailing list