Problem getting directory handle of remote Db

I wanted to search a particular Db(.NSF) inside particular folder on a remote server and i tried the following code:

// I want to get the directory handle of “333”

sPath = “111\222\333\abc.nsf”;

nError = OSPathNetConstruct (NULL, serverName, sPath, sFilePath);

nError = NSFDbOpen( sFilePath, &hDirectory );

nError = NSFDbLocateByReplicaID( hDirectory,…

It is always looking into the default data folder but i want to look into only “Data\111\222\333” directory.

thanks in advance

Chitts