Gossamer Forum
Home : Products : Others : Fileman :

upload limits

Quote Reply
upload limits
I have filemanager 2.0 installed on a box running redhat 7.1. There appears to be a 1 meg limit on the upload size. Where do I find a place raise that limit.
Quote Reply
Re: [psjames] upload limits In reply to
Hi,

You can change the allowed_space in ConfigData.pm, if allowed_space=0 then fileman shouldn't check space.

TheStone.

B.

Last edited by:

TheStone: Jan 17, 2002, 9:57 AM
Quote Reply
Re: [TheStone] upload limits In reply to
I had checkspace=0 and allowed_space= 0 as well. Any other thoughts.

Thanks

PJ
Quote Reply
Re: [psjames] upload limits In reply to
Hi,

Is it the newest? Take a look at cmd_upload in Commands.pm, it should has the scripts below:

....
my $free_space;
if ($self->{cfg}->{allowed_space} > 0) {
my $disk_space;
@$disk_space = $self->_checkspace($self->{cfg}->{root_dir});
$free_space = @$disk_space[0];
}
...
Cheers,

TheStone.

B.

Last edited by:

TheStone: Jan 17, 2002, 10:17 AM
Quote Reply
Re: [TheStone] upload limits In reply to
I made that adjustment and same result. I get a page generated by IE "The page cannot be displayed" That page comes up immediatly, so it is not a timing out issue and I don't even get an error. What ever it is it is at exactly 1 meg. I am able to upload 999k but 1000k. I wonder if it could be a server setting some place.
Quote Reply
Re: [TheStone] upload limits In reply to
I have the following in my Command.pm file

Hi,

Is it the newest? Take a look at cmd_upload in Commands.pm, it should has the scripts below:

....
my $free_space;
if ($self->{cfg}->{allowed_space} > 0) {
my $disk_space;
@$disk_space = $self->_checkspace($self->{cfg}->{root_dir});
$free_space = @$disk_space[0];
}
...



I just downloaded it yesterday.

PJ
Quote Reply
Re: [psjames] upload limits In reply to
Hi,

Can you upload that file via FTP? if so, Let's add scripts bellow into cmd_upload:

....
my $filename = $data;
my $mode = $self->{cgi}->{type};
$filename =~ s/.*?([^\\\/:]+)$/$1/;
$filename =~ s/[\[\]\s\$\#\%'"]/\_/g;
...

TheStone.

B.

Last edited by:

TheStone: Jan 17, 2002, 10:45 AM
Quote Reply
Re: [TheStone] upload limits In reply to
I replaced

my $filename = $data;
$filename =~ s/.*?([^\\\/:]+)$/$1/;
my $mode = $self->{cgi}->{type};

with

my $filename = $data;
my $mode = $self->{cgi}->{type};
$filename =~ s/.*?([^\\\/:]+)$/$1/;
$filename =~ s/[\[\]\s\$\#\%'"]/\_/g;



same results.

PJ
Quote Reply
Re: [psjames] upload limits In reply to
Hi,

Can you drop me an email about your Fileman info? I'll take a look.

TheStone.

B.