rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Alons0 on March 14, 2007, 04:25:21 PM

Title: setting comment to a file in virtual folder
Post by: Alons0 on March 14, 2007, 04:25:21 PM
I wanna set a comment to a file in one virtual folder, but i can't browse the files in the VFS tree. Any ideas?
Title: Re: setting comment to a file in virtual folder
Post by: Giant Eagle on March 14, 2007, 06:00:01 PM
Virtual folders are always browsable.. or did you mean a Real Folder?

You should then simply use an external comment. To do that, just go to the same folder where the file is located on your hard-drive and create a file that is named exactly the same as the file you want to give a comment, but give it the .comment extension

For example:
if a file is called 'setup.exe' you would have to create a file called 'setup.exe.comment'.

All you have to do then is to open that .comment file in any text editor and write your comment. After ure done, simply save and close the file. Hfs will use the external comment file automatically.
Title: Re: setting comment to a file in virtual folder
Post by: Alons0 on March 14, 2007, 07:31:56 PM
Virtual folders are always browsable.. or did you mean a Real Folder?

You should then simply use an external comment. To do that, just go to the same folder where the file is located on your hard-drive and create a file that is named exactly the same as the file you want to give a comment, but give it the .comment extension

For example:
if a file is called 'setup.exe' you would have to create a file called 'setup.exe.comment'.

All you have to do then is to open that .comment file in any text editor and write your comment. After ure done, simply save and close the file. Hfs will use the external comment file automatically.
Yes, I meaned real folder. Thank you for the sollution, it works!
Title: Re: setting comment to a file in virtual folder
Post by: rejetto on March 22, 2007, 05:19:58 PM
you can do it by using external file comments.
search the documentation (wiki).