File move from one folder to another

How can i move a xml file from one directory location to another using AX 2009.



WinAPI::moveFile() (on client)

System.IO.File::Move() (anywhere, nevertheless don’t forget InteropPermission on server)

You can also implement your own method in WinAPIServer similar to copyFile() or use WinAPIServer::copyFile() and WinAPIServer::deleteFile() together*.*