On Mon, 2007-02-19 at 15:20 -0800, larsfp wrote:
> hi
> 
> i use this code to copy files from one dir to another:

> but it prints:
> copying /home/lars/temp/test1/testfil to /home/lars/temp/test2/
> copy failed Win32 IO returned 82. Path: /home/lars/temp/test1/testfil" or
> "/home/lars/temp/test2/

You're getting EISDIR, but we don't have a pretty error message for that
at the moment.  I'll fix the exception text, but the original bug is
yours.  FileInfo.CopyTo() expects a target filename, not a directory.

- Dick

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to