Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Deadlox Deadlox
WebDAV filter
February 1, 2013 1:01 AM
Answer

Deadlox Deadlox

Rank: New Member

Posts: 7

Join Date: June 18, 2012

Recent Posts

Hello,

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

Thanks.
Vilmos Papp
RE: WebDAV filter
February 1, 2013 1:14 AM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Expert

Posts: 423

Join Date: October 21, 2010

Recent Posts

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
February 1, 2013 1:24 AM
Answer

Deadlox Deadlox

Rank: New Member

Posts: 7

Join Date: June 18, 2012

Recent Posts

Thanks, but i want to make a custom filter on each file, is it possible ?
Vilmos Papp
RE: WebDAV filter
February 1, 2013 5:17 AM
Answer

Vilmos Papp

LIFERAY STAFF

Rank: Expert

Posts: 423

Join Date: October 21, 2010

Recent Posts

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
February 1, 2013 5:46 AM
Answer

Deadlox Deadlox

Rank: New Member

Posts: 7

Join Date: June 18, 2012

Recent Posts

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