moveFileTo problem


#1

The File::moveFileTo() method fails when a folder is moved to another volume. It seems that the underlying Windows MoveFile function has a problem with this.

From the MSDN page:

"The one caveat is that the MoveFile function will fail on directory moves when the destination is on a different volume."

Maybe this should be added to the documentation?

 


#2

Thanks - yes, not much I can do to change the way win32 works, but I'll make a note in the comments.


#3

wouldn't it be more nice to emulate the functionaly on windows...