Foros de discusión

WebDAV filter

Deadlox Deadlox, modificado hace 11 años.

WebDAV filter

New Member Mensajes: 7 Fecha de incorporación: 18/06/12 Mensajes recientes
Hello,

I will wish to filter files in the webdav.
What class do i overload ?

Thanks.
thumbnail
Vilmos Papp, modificado hace 11 años.

RE: WebDAV filter

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
Hi,

If you would like to filter files by exact filenames or extensions you can take a look at portal.properties:
##
## WebDAV
##

    #
    # Set a list of files for the WebDAV servlet to ignore processing.
    #
    webdav.ignore=.DS_Store,.metadata_index_homes_only,.metadata_never_index,.Spotlight-V100,.TemporaryItems,.Trashes,Backups.backupdb

You can extend this list by adding, and modifying this list to your portal-ext.properties file.

Regards,
Vilmos
Deadlox Deadlox, modificado hace 11 años.

RE: WebDAV filter

New Member Mensajes: 7 Fecha de incorporación: 18/06/12 Mensajes recientes
Thanks, but i want to make a custom filter on each file, is it possible ?
thumbnail
Vilmos Papp, modificado hace 11 años.

RE: WebDAV filter

Liferay Master Mensajes: 529 Fecha de incorporación: 21/10/10 Mensajes recientes
I thinks so, but separate filter for each file, maybe not a good idea. What would you like to achive by these filters?
Deadlox Deadlox, modificado hace 11 años.

RE: WebDAV filter

New Member Mensajes: 7 Fecha de incorporación: 18/06/12 Mensajes recientes
I would like to choose some files with some specifics conditions (by date that depends on user attribute for example Birthday... )
I need the service used by webdav that list files and folders so i can restrain this list

Thanks