EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Using Callback FS

Posted: 04/04/2008 03:51:42
by Tobias Fensch (Standard support level)
Joined: 04/04/2008
Posts: 8


I'm using your CallbackFileSystem and everything works fine until now.

But there is one thing that i'm missing:
Is it possible to "manipulate" the file size of an item shown e.g. in an explorer window?
Change the file size in your callback function OnGetFileInfo(..) seems not working for that problem.

The background of this request:
We are using your CallbackFS driver to interact with our data compression hardware/api. That means, files are automatically compressed if they are copied to a virtual drive, mounted with your CallbackFS driver. So, I want to display the original file size, not the compressed one, to the user.

Maybe your new CallbackFilter can manage this?

Thanks for help and sorry for my english :)

Tobias Fensch
Posted: 04/04/2008 04:33:04
by Eugene Mayevski (Team)

I think that OnGetFileInfo is not the only place where you must report the original data size. You should also modify it in OnDirectoryListing.

CallbackFilter won't give you more than CBFS can give in the aspect of file size change.

Sincerely yours
Eugene Mayevski
Posted: 04/04/2008 05:19:03
by Tobias Fensch (Standard support level)
Joined: 04/04/2008
Posts: 8

Yeah, thats it!

Thank you very much!

Tobias Fensch



Topic viewed 4925 times

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


Back to top

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

Got it!