Gossamer Forum
Home : Products : Others : Fileman :

free disk quota?

Quote Reply
free disk quota?
in version 1.x there was free disk space in the upper right
I miss this feature in v2.x
I don't know if its included, searched the forum but couldn't find anything.
nonetheless a great script
thanks,
andy
--------
eiland.org

Last edited by:

nde: Feb 26, 2002, 6:33 AM
Quote Reply
Re: [nde] free disk quota? In reply to
Hi,

It must be allowed_space in Configdata.pm (only for single version), so you can change it whatever you want. If allowed_space = 0 then Fileman does not check the free space.

TheStone.

B.

Last edited by:

TheStone: Feb 26, 2002, 9:13 AM
Quote Reply
Re:free disk quota? In reply to
Is there anyway to make the Cobalt version of Filman show the disk space quota?

Thanks
Quote Reply
Re: [MasterK] Re:free disk quota? In reply to
Hi,

You can change it in the fileman.pl:

.....
my $fm = GT::FileMan->new (
cfg => {
template_root => '....',
html_root_url => '...',
root_dir => '....',
root_url => '',
passwd_dir_level => 0,
allowed_space => 5000000,
},
commands => {......}
);

....

TheStone.


B.
Quote Reply
Re: [TheStone] Re:free disk quota? In reply to
Sorry if I was unclear. I like nde was wondering about having the space/quote displayed like the old 1.x single site version and wanted to know if the cobalt version had an option to display that. The command youlisted looks to add a quota.

Thanks for the help. Fileman rocks!Smile
Quote Reply
Re: [TheStone] free disk quota? In reply to
thanks for the reply, I overlooked that in the Configdata.pm - I think this could be easily intergated in the setup with the usual 'if not sure, leave empty' note...

I still have a question:
is it possible to display the free disk quota somewhere. I tracked to function to 'my $free_space' -> 'sub _checkspace' and couldn't find any other reference - this looks like it's only used to check when editing or uploading, but I think it's useful to have that displayed on the main page.
--------
eiland.org