Hi Kumar,

Unless it has been added in one of the latest releases, there is no such 
counterpart for the save. You will have to acchieve this outside of MarkLogic 
Server. You could for instance run a cron job that cleans files that have been 
untouched for a certain period or have a specific file size.

Michael Blakeley once suggested to write an empty document to the file that 
should actually be deleted. It saves at least disk space, and you could use 
that as a hint for your cron job..

Kind regards,
Geert 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Mihir Das
> Sent: dinsdag 11 januari 2011 8:03
> To: [email protected]
> Subject: [MarkLogic Dev General] Delete file from filesystem!!!
> 
> Hi All,
> 
> There is a function xdmp:save() to save file in a file-system.
> 
> But I coudn't find any function to delete the file from file-system.
> 
> Please suggest where i can find that or how it can be achieved? 
> 
> thanks,
> Kumar
> 
> 
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to