Hi Madhu,

On Windows you need to escape the windows "\" directory delimiter which is  
special character with a double slash "\\" as follows:

        
ld_dir('C:\\Users\\madsaan\\Desktop\\vos6-win32-20100209\\virtuoso-opensource\\vad\\sider.ttl','sider.ttl','http://sider.com#');

Or change the windows directory delimiters ie "\" to unix type delimiters ie 
"/" as follows:

        
ld_dir('C:/Users/madsaan/Desktop/vos6-win32-20100209/virtuoso-opensource/vad/sider.ttl','sider.ttl','http://sider.com#');

Or use a relative directory to the location the server is running from , which 
if in the "database" directory would be:

        ld_dir('../vad/sider.ttl','sider.ttl','http://sider.com#');     


Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 1 Mar 2010, at 02:51, Madhuvanthi Sankaranarayanan wrote:

> Hi,
> 
> I am trying to upload turtle file (18kb) into virtuoso using the following 
> instructions:
> 
> http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtBulkRDFLoaderExampleSingle
> 
> the dirsallowed param in my virtuoso.ini file is as follows:
> 
> DirsAllowed                   = ., ../vad
> 
> So i put my file sider.ttl inside vad folder and connected to sql using the 
> following command
> 
> isql 1111 dba dba
> 
> once i got connected i entered the following command
> SQL>ld_dir('C:\Users\madsaan\Desktop\vos6-win32-20100209\virtuoso-opensource\vad\sider.ttl','sider.ttl','http://sider.com#');
> 
> am getting the following error:
> 
> Error 42000:Access to 
> 'C:\Users\madsaan\Desktop\vos6-win32-20100209\virtuoso-opensource\vad\sider.ttl'
>  is denied due to access control in  ini file in lines 357-358 of top level.
> 
> 
> Please help me out of this.I am so confused
> 
> Thanks,
> Madhu.
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to