If I remember correctly, this creates a directory in the database not on the 
file system.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Scott 
Gurney
Sent: Thursday, December 11, 2008 9:23 AM
To: [email protected]
Subject: [MarkLogic Dev General] xdmp:directory-create() doesn't seem to work

The following code does not actually create any directories - nor does it throw 
any errors.

xquery version "1.0-ml";

xdmp:directory-create("test1/"),
xdmp:directory-create("/test2/"),
xdmp:directory-create("C:\Program Files\MarkLogic\test3/"),
xdmp:directory-create("C:/Program Files/MarkLogic/test4/"),
xdmp:directory-create("C:/Program Files/MarkLogic/test5/", 
xdmp:default-permissions()),
xdmp:directory-create("C:\Program Files\MarkLogic\test6/", 
xdmp:default-permissions()),
xdmp:directory-create("C:/tmp/test7/", xdmp:default-permissions()),
xdmp:directory-create("C:\tmp\test8/", xdmp:default-permissions())


This is on WindowsXP with ML version 4.0-1

Am I doing something wrong, or is this functionality broken?  It appears that 
both relative and absolute paths do not work.

Thanks,
David



NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to