rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: TSG on August 25, 2007, 11:58:11 AM

Title: Filetype Hiding...
Post by: TSG on August 25, 2007, 11:58:11 AM
I would like to hide filetypes from HFS users??

Is this possible, without having to use 'eg. Files filter: *.jpg;' with EVERY file type i want to show. I just want to hide a set of filetypes...

I'm sure i could do this with the template... wondering if maybe this is a good idea for a feature in HFS, so thats why im posting it :P

Current solution is...
[file.db=file.ini]
<!--Omitted filetypes when HFS is run through WINE in Linux, (Thumbs.db, ehthumbs.db, Desktop.ini), using Windows Drives.-->
Title: Re: Filetype Hiding...
Post by: rejetto on August 25, 2007, 10:07:34 PM
files filter:
\*.db;desktop.ini

the slash inverts the logic
Title: Re: Filetype Hiding...
Post by: TSG on August 26, 2007, 10:31:33 AM
Thankyou rejetto! it works. Someone might want to update the wiki with that one... i will try now.

http://www.rejetto.com/wiki/index.php?title=HFS:_File_masks#Inverting_the_logic_.28.5C.29  that ok?
Title: Re: Filetype Hiding...
Post by: Foggy on August 26, 2007, 12:35:06 PM
lol yeah, I was gonna add it when I get around to  attempting updating it but just havnt gotten a chance lately with work and school. :(