rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: ninjapimp on January 10, 2010, 04:47:39 AM

Title: how to hide a file in HFS
Post by: ninjapimp on January 10, 2010, 04:47:39 AM
for some reason, windows always makes a Thumbs.db file when i watch movies or pictures.
i've not figured out how to prevent this yet

i did a search and found this:
1.  In the HFS VFS gui right click on the shared folder
2.  Select 'Properties' then 'File Masks'
3.  In the 'Files Filter' column add the file extensions you want to share
    example - *.jpg  (if you have more than one, seperate the extensions with a ;)
    example - *.jpg;*.avi
4.  Click on Apply

but it does not work for me.
in file masks tab, i see Files Filter
so i put thumbs.db in this field. i apply

but now when i surf into the folder via web browser i get an odd behavior. when i try to list a folder that contains thumbs.db it asks me to save it.

the expected behavior is for it to not display.

am i missing something? did something vhange in the beta builds?
i tried putting *.db in other fields but no luck.

it seems putting *.db in any fields makes the folder unbrowseable or asks to save the thumbs.db file

any ideas?

thanks




Title: Re: how to hide a file in HFS
Post by: Wasserfloh on January 10, 2010, 09:40:48 AM
If you do not want to disable the saving of the thumbnails in Windows (Folder Options > View):
Menu > Virtual Filesystem > [_] List files with <hidden> attribute
Menu > Virtual Filesystem > [_] List files with <system> attribute
Title: Re: how to hide a file in HFS
Post by: Roessi on January 12, 2010, 07:22:07 AM
for some reason, windows always makes a Thumbs.db file when i watch movies or pictures.
i've not figured out how to prevent this yet

i did a search and found this:
1.  In the HFS VFS gui right click on the shared folder
2.  Select 'Properties' then 'File Masks'
3.  In the 'Files Filter' column add the file extensions you want to share
    example - *.jpg  (if you have more than one, seperate the extensions with a ;)
    example - *.jpg;*.avi
4.  Click on Apply

but it does not work for me.
in file masks tab, i see Files Filter
so i put thumbs.db in this field. i apply

but now when i surf into the folder via web browser i get an odd behavior. when i try to list a folder that contains thumbs.db it asks me to save it.

the expected behavior is for it to not display.

am i missing something? did something vhange in the beta builds?
i tried putting *.db in other fields but no luck.

it seems putting *.db in any fields makes the folder unbrowseable or asks to save the thumbs.db file

any ideas?

thanks







shouldnt it be \*.db or \thumbs.db

*.db would allow only db to be seen and the \ inverts it
Title: Re: how to hide a file in HFS
Post by: rejetto on January 18, 2010, 03:04:21 PM
that's right.
you are specifying what's passing, not what's blocked.
as ninja reported
"In the 'Files Filter' column add the file extensions you want to share"