>>In
Re: Overwriting/Deleting a file... Thread #
732410 Message #
732434 Michel Fournier has found a bug in VFP7 SP1 that allows overwriting of a table that VFP has opened non-exclusively, by another process. Can anyone who has the VFP8 Beta installed test the following code to see if it has been addressed.
>< snip >
>Test environment was VFP7 SP1 on Windows 2000 Professional SP3, no post-SP3 hotfixes. All test data written to a local hard drive (not a network drive).
>
>Al,
>
>I ran your test code under VFP8beta with the same test environment as yours and table 'test1\test' was overwritten. The table can also be overwritten in WIndows Explorer.
Thanks for the confirmation. The first time I tested, I also used Windows Explorer. I used the FSO in the test code so it could be done programmatically.
The next step would be for other people running on different OSs (XP, NT, 9x/Me) to see if they also see the problem.
IAC, this problem under (at least) W2K is significant, because that is MS's current production server. It makes me wonder, just exactly what is happening in the server or w/s file system when a file is opened by VFP non-exclusively. There's no way this overwriting should be possible.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up