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.
Jan 17, 2002, 10:02 AM
Staff / Moderator (733 posts)
Jan 17, 2002, 10:02 AM
Post #4 of 9
Views: 5168
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.
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.
Jan 17, 2002, 10:16 AM
Novice (6 posts)
Jan 17, 2002, 10:16 AM
Post #5 of 9
Views: 5124
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.
Jan 17, 2002, 10:22 AM
Novice (6 posts)
Jan 17, 2002, 10:22 AM
Post #6 of 9
Views: 5125
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
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
Jan 17, 2002, 10:35 AM
Staff / Moderator (733 posts)
Jan 17, 2002, 10:35 AM
Post #7 of 9
Views: 5127
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.
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.