my php.ini is configured as
Upload_max_filesize = 64M
post_max_size = 64M
my file colum is like:
/**
*
* @ columna del file uploader;
*
*/
$kul = new KoolUploader('');
$kul->width=100;
$kul->maxFileSize = 1024*1024*20; //20M
echo $kul->RegisterScript(false);
$column1 = new GridFileColumn();
$column1->DataField = "attachedfiles";
$column1->HeaderText = "Attached files";
$column1->KoolUploaderFolder = $KoolControlsFolder . "/KoolUploader/";
$column1->AllowedExtension = "jpg";
$column1->BaseDirectory = '.';
$column1->TableName = 'tbl_item_fotos';
$column1->IdColumn = 'id';
$column1->MultipleUpload = true;
$column1->AllowDelete = true;
$column1->AllowEdit = true;
$grid->MasterTable->AddColumn($column1);
$kulhandle = new KoolUploadHandler();
$kulhandle->allowedExtension = "jpg";
$kulhandle->allowDelete = true;
$kulhandle->allowEdit = true;
echo $kulhandle->handleUpload();