EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Mount As A Network Location

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#33649
Posted: 06/11/2015 18:21:29
by Gavin Hinfey (Basic support level)
Joined: 06/11/2015
Posts: 2

Hi,

I'm using your Mapper example for Callback Filesystem.
I would like it to mount a location as a 'Network Drive' not as a 'Removable Disk'.

I've been trying:
g_CbFs.AddMountingPoint(MountingPoint, CBFS_SYMLINK_NETWORK, NULL);
but I get the error:
The parameter is incorrect.

I feel like there is more to this than changing one line of mappers code but I just thought I'd ask!

Thanks
Gavin
#33654
Posted: 06/12/2015 03:18:42
by Volodymyr Zinin (EldoS Corp.)

Hi Gavin,

You can use mounting points with any type of virtual disks. It's like as you insert a USB flash drive (which is a removable local disk), share it, and access the drive via a UNC path.

I.e. create a CBFS virtual disk with, for example, DiskType = stDisk and StorageCharacteristics = scRemovable. Then call
Quote
AddMountingPoint("X:;server_name;share_name", CBFS_SYMLINK_NETWORK, NULL);


It seems the problem in your case is that you pass the first parameter in incorrect format. For details see https://www.eldos.com/documentation/cb...oints.html

Thanks.
#33657
Posted: 06/12/2015 17:03:02
by Gavin Hinfey (Basic support level)
Joined: 06/11/2015
Posts: 2

Thanks,

This worked a charm!
I should of read the documentation more thoroughly.

Thanks
Gavin

Reply

Statistics

Topic viewed 2194 times

Number of guests: 2, 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!