Re: purge webdav

Serge Huber <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
Hi Alexandra,

In order to do this you would need to write some logic that would check 
for all the files if they are referenced in the jahia_fields_data table. 
You can retrieve all file field types with a select that looks like this :

SELECT * from jahia_fields_data where type_jahia_fields_data=6;

You would then have to use the Slide API to traverse the file structure 
and remove the files, or use a WebDAV library to do that remotely.

Regards,
  Serge Huber.

BOHY Alexandra wrote:

> Is it possible to delete all files managed by webdav, which are not 
> used (which are not used in live mode) ?
> now, if I want to purge my site, I have to select operation/delete by 
> the IHM for each file...
>  
>  
> Alexandra.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.