Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Deadlox Deadlox
WebDAV filter
1. Februar 2013 01:01
Antwort

Deadlox Deadlox

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 18. Juni 2012

Neue Beiträge

Hello,

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

Thanks.
Vilmos Papp
RE: WebDAV filter
1. Februar 2013 01:14
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

Hi,

If you would like to filter files by exact filenames or extensions you can take a look at portal.properties:
1##
2## WebDAV
3##
4
5    #
6    # Set a list of files for the WebDAV servlet to ignore processing.
7    #
8    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
RE: WebDAV filter
1. Februar 2013 01:24
Antwort

Deadlox Deadlox

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 18. Juni 2012

Neue Beiträge

Thanks, but i want to make a custom filter on each file, is it possible ?
Vilmos Papp
RE: WebDAV filter
1. Februar 2013 05:17
Antwort

Vilmos Papp

LIFERAY STAFF

Rang: Liferay Master

Nachrichten: 521

Eintrittsdatum: 21. Oktober 2010

Neue Beiträge

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
RE: WebDAV filter
1. Februar 2013 05:46
Antwort

Deadlox Deadlox

Rang: New Member

Nachrichten: 7

Eintrittsdatum: 18. Juni 2012

Neue Beiträge

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