EldoS Corporation - Software components for data Security, Storage and Transfer
Support button
Home / Forums / Solid File System / Forum «Solid File System» - EldoS Corporation
SITE SEARCH
Advanced search
SOLUTION GUIDE
For Software Developers
For Business Integrators
PRODUCT LINES
BizCrypto
SecureBlackbox
Callback File System
CallbackFilter
CallbackDisk
SolFS (Solid File System)
RawDisk
Rethync
MsgConnect
VoxPopuli
SFTP Net Drive
NEED HELP?
Support options
Knowledgebase
Forums
HelpDesk
CUSTOMER RELATIONS
Testimonials
Our clients
Geography
Contact Us
Time to Rest
My Control Center
COMPANY INFORMATION
Company news
Seasonal newsletter
Corporate information
For investors
For press
For partners
FOLLOW US
Forums list
New topics
Topics list
Search
Help
Login
Register

Using solfs to create a user visible folder and then monitor changes

Messages 1 - 10 of 18
First | Prev. | 1 2 | Next | Last 

Also by EldoS Corporation: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#19919
Created: 04/25/2012 01:19:50
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

i am currently evaluating solfs for achieving following requirement of my application.
1.Create a folder on user machine where my application is running.This folder should be accessible through window explorer to the user.User can use use this folder just like any other folder on his machine.he can copy files to this,deletes file from here etc.
2.i need to monitor this folder through callback or some other mechanism so that whenever user adds/delete file or modify an existing file my application should get notified.

Is it possible to achieve all these using ONLY the solfs.i cant use callback filters as currently it is not supported on Mac OSx.
This is really urgent on making a buy decision.
Back to top
#19920
Created: 04/25/2012 01:44:57
by Alexander Plas (EldoS Corp.)

Hello

Current version of SolFS OS edition doesn't support mounting as a directory in Windows (the right name of such kind of mounting is 'NTFS junction point'). You can mount SolFS volume as usual disk letter, and it will be available accessible for users via Explorer and any other applicaion. The upcoming new SolFS 5 version will be able to mount as NTFS junction point. Under Mac OS mounting as a directory is the only one possible type of mounting.

On both Windows and Mac OS there are system mechanisms for directory monitoring. Please refer to appropriate documentation:

Windows: http://msdn.microsoft.com/en-us/libra...s.85).aspx

Mac OS: http://developer.apple.com/library/ma...89-CH4-SW4
Back to top
#19922
Created: 04/25/2012 02:10:05
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

Thanks for the quick response.Could you please redirect me to some example where drive mounting supported by current implementation is shown.Also to confirm we need OS edition to mount as drive right?on top of that we can use the native OS APIs to monitor the mounted drive for any changes like adding/deleting/modifying files?
thanks again.
Back to top
#19923
Created: 04/25/2012 02:25:50
by Alexander Plas (EldoS Corp.)

Download please SolFS OS edition from the site https://www.eldos.com/solfs/download-release.php

Both Windows and Mac OS packages contain example applications which can creates and mounts the storage. For Windows it's a GUI application, for Mac OS it's a command line application.
Back to top
#19925
Created: 04/25/2012 10:43:53
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

Thanks.
Now what i want to try next in order to evaluate is to create storage and mount it as drive.i am trying to use your sample applications for this.
1.To create a storage i am using sample application located in EldoS\SolFS\Win32\Samples\Storages.First of all this was missing the libary so i added SolFS.lib located in SolFS\Win32\StaticLib.
Now when i run this executable i get error code logged in console as 5.
Could not find out what this particular error code means and how to resolve this.
Would truly appreciate your help to resolve this.
please note that im running application edition for this.
Back to top
#19926
Created: 04/25/2012 12:08:40
by Alexander Plas (EldoS Corp.)

Seems like you use Application edition of SolFS. Download please OS edition. All examples for OS edition are named SimpleMounter.
Back to top
#19927
Created: 04/25/2012 23:04:01
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

but simple mounter does not create storage which can be mounted right?
Back to top
#19928
Created: 04/26/2012 01:19:09
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

i have modified SimpleMounter sample application to first create storage and then mount it.I have modified onMount() function like this.
void OnMount()
{
TCHAR StorageName[MAX_PATH + 1] = TEXT("C:\demosolfs.st");
//if (!SelectStorageFile(StorageName, MAX_PATH + 1))
//return;

Storage->set_FileName(StorageName);
//Storage->ForceUnmount(StorageName);
Storage->Open(somCreateAlways);
UpdateList();
UpdateAllButtons();
}

But now when i run this application and click Mount nothing happens.could you please tell me what the problem could be.
Back to top
#19929
Created: 04/26/2012 01:38:48
by Alexander Plas (EldoS Corp.)

The mounting point list should be updated and the mounting point with name SolFS_Volume1 should be added. Then you can add another mounting point with "Add point" button. New mounting point can be the disk letter, "X:" for example.
Back to top
#19930
Created: 04/26/2012 02:36:44
by p p (Basic support level)
Profile
E-Mail
Registration date: 04/25/2012
Total messages: 10

i Found the issue.inside SolFSStorage::create() we are calling StorageCreate which is returning an error code 110.From your documentation on error i see that this is a OS error.Looking at windows documentation i found it to be saying "The system cannot open the device or file specified."so i suspect that there is something wrong in my code snippet here
void OnMount()
{
TCHAR StorageName[MAX_PATH + 1] = TEXT("C:\demosolfs.st");
//if (!SelectStorageFile(StorageName, MAX_PATH + 1))
//return;

Storage->set_FileName(StorageName);
//Storage->ForceUnmount(StorageName);
Storage->Open(somCreateAlways);
UpdateList();
UpdateAllButtons();
}
My intention here is to create a storage first as c:\demosolfs.st and then mount.Could you please tell me what im doing wrong here.
Back to top
Also by EldoS Corporation: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Messages 1 - 10 of 18
First | Prev. | 1 2 | Next | Last 


Statistics

Topic viewed 1718 times

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

Forums list
New topics
Topics list
Search
Help
Login
Register



|
Contact Us | Terms of Use | Trademarks | Privacy Statement | Site Index
Copyright (c) 1998-2013, EldoS Corporation
Design by Web Arsenal