[rt-users] Limit upload to compressed files

BÁLINT Bekény balint.bekeny at docca.hu
Fri Dec 2 10:54:06 EST 2011


Hi,

I think the easiest way is this:
http://www.w3schools.com/tags/att_input_accept.asp

But:
- it's not yet supported by all browsers
- it's not on server side, so can be ignored

--
Bekeny
Docca OutSource IT Ltd.


On Tue, Nov 8, 2011 at 9:23 AM, Michael Polenske <
Michael.Polenske at skm-skyline.de> wrote:

> Good morning,****
>
> ** **
>
> we allow our customers to upload files (configuration files, kernel dumps
> etc) to their ticket. Unfortunately not all customers follow the rule and
> compress their uploads, so it can be that they upload a config file with
> >20MB (compressed with standard zip it’s <1MB).****
>
> ** **
>
> So big question – can I limit the upload to .zip /.gz/.rar.7z or whatever
> on a easy way ? Any idea ?****
>
> ** **
>
> Thanks and best regards,****
>
> Michael****
>
> ** **
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Barcelona, Spain — November 28 & 29, 2011
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111202/9e6ff571/attachment.htm>


More information about the rt-users mailing list