EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Reading a File

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#8291
Posted: 11/27/2008 09:53:31
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

Hi

When I open a folder in the virtual Drive using Windows Explorer,
CbFsReadFile event is raised. Also when I double click on a file it is raised.
Since I am reading or retrieving files from DVD. I don't want to retrieve the file from the DVD when the user just lists the files in the right panel of Windows Explorer.
Is there any way to avoid or distinguish between CbFsReadFile events?
#8292
Posted: 11/27/2008 10:18:17
by Volodymyr Zinin (EldoS Corp.)

Hi,

Explorer tries to obtain icons from file resources. That's why it performs reading of files during directory enumeration.
It isn't necessary to read a whole file, only a part that explorer requests. Also it's possible to decrease the quantity of reading information. To do this, use the network type of mounting points. In this case explorer minimizes the requested information.
Also to increase productivity you can start caching of such information asynchronously at the time when explorer is opening a directory and use the already cached information in subsequent OnRead requests.
#8293
Posted: 11/27/2008 10:52:06
by Eugene Mayevski (EldoS Corp.)

Added to FAQ.


Sincerely yours
Eugene Mayevski
#8294
Posted: 11/27/2008 12:33:34
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

Hi Vladimir, Eugene.

Suppose I am controlling a Robotics which contains 200 DVDs.
Just obtaining the icon, I have to move the Robotics to slot No. x and insert the DVD in the Driver to retrieve some information, the cost is Robotics moving.
Is there any way to know which type of reading the Windows Explorer is doing?
i.e. exploring some information or reading a whole file.
Quote

To do this, use the network type of mounting points. In this case explorer minimizes the requested information.
Also to increase productivity you can start caching of such information asynchronously at the time when explorer is opening a directory and use the already cached information in subsequent OnRead requests.

In all cases, I have to move the Robotics to the specific DVD position.

thanks
#8295
Posted: 11/27/2008 14:30:39
by Eugene Mayevski (EldoS Corp.)

Quote
Khayralla AL-Athari wrote:
Is there any way to know which type of reading the Windows Explorer is doing?


NO. This has been asked here and answered a dozen of times.


Sincerely yours
Eugene Mayevski
#8296
Posted: 11/27/2008 14:31:39
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

Thanks a lot.
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 2570 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!