Which product and version number are you using? I just tested this here using Net Express 5.1 under Windows 7 and it works perfectly as long as the XML file is closed before the cbl_delete_file is called. If the file is not closed then the copy works but the delete brings back a return-code of14657 which translates to a file status of 9/65 which is a file locked condition, which is what I would expect. What is the actual value of return-code after the cbl_delete_file call? Thanks.
↧