EldoS | Feel safer!

Software components for data protection, secure storage and transfer

still live after deletion a file in a virtial disk

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#7674
Posted: 09/22/2008 02:42:42
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

Hi

The file is still live after deletion a file.
I deleted a file on a virtual disk as Z:
It seems that it is deleted. But, if I refresh explorer with F5.
It is displayed again.

This kind of trouble is the same with cretion as well.
I attached a image file of creating.
I was using Microsoft Words on Z:

I didn't modify the sample code - Mounter so much.
I just add a tracking code of each event.

OS is Vista SP1

Thanks,

Joohyun


#7675
Posted: 09/22/2008 03:00:17
by Eugene Mayevski (EldoS Corp.)

Please modify the source code in some way to check whether the file gets actually deleted from the file system. It can be that the contents of the directory listing is cached.


Sincerely yours
Eugene Mayevski
#7676
Posted: 09/22/2008 03:22:20
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

I will try for deletion.
But, what is the reason of creation from Microsoft Word?

Regards,
Joohyun
#7677
Posted: 09/22/2008 03:48:30
by Eugene Mayevski (EldoS Corp.)

And what is the problem with Microsoft Word?


Sincerely yours
Eugene Mayevski
#7678
Posted: 09/22/2008 04:02:50
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

I used your sample code of Mounter.
This Sub is not called because the file is not deleted actually.
To delete the file, I use Windows Explorer.
Could you gie me further hint?
Current driver is 2.0.38.105

Regards,
Joohyun

Code:

Private Sub CbFsDeleteFile(ByVal sender As CallbackFileSystem, ByVal FileInfo As CbFsFileInfo)

Dim info As FileSystemInfo = Nothing

If (FileInfo.Attributes And CbFsFileAttributes.CBFS_FILE_ATTRIBUTE_DIRECTORY) <> 0 Then

info = New DirectoryInfo(mRootPath + FileInfo.FileName)
Else

info = New FileInfo(mRootPath + FileInfo.FileName)

End If

info.Delete()

Using sw As StreamWriter = New StreamWriter("myLog.txt")
' Add some text to the file.
sw.WriteLine("DeleteFile:" & DateTime.Now & ":" & FileInfo.FileName)
sw.Close()
End Using


End Sub
#7679
Posted: 09/22/2008 04:04:21
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

Word relared problem is that,
when I create new doc then try to save on the virtual disk, it is failed to create.

Regards,
Joohyun
#7680
Posted: 09/22/2008 04:19:02
by Eugene Mayevski (EldoS Corp.)

The problems are specific to Vista SP1.

There's build 39 available on the site, it fixes several issues. Please check with it, maybe the problem will be gone with that build. If no, the developers will investigate the issue when they have a chance.


Sincerely yours
Eugene Mayevski
#7681
Posted: 09/22/2008 04:39:48
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

I am not how to distinguish build 39 from the microsoft website.
I ,anyway, try to download the latest one.

Best regards,
Joohyun
#7682
Posted: 09/22/2008 04:46:01
by gwihwan Ji (Basic support level)
Joined: 08/24/2008
Posts: 36

My SP1 seems to be new.
My SP1 is based on KB936330.
Do you think is that it?

Best regards,
Joohyun
#7683
Posted: 09/22/2008 05:01:15
by Eugene Mayevski (EldoS Corp.)

I am talking abou build 39 of Callback File System.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 8090 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!