Any objection to make this 200?

Massimo

On Apr 19, 6:22 pm, Rowdy <[email protected]> wrote:
> mdipierro wrote:
> > I was not aware of this limit.
>
> > In gluon/sql.py you should replace:
> > newfilename = newfilename[:500] + '.' + extension
>
> > with something like
>
> > newfilename = newfilename[:120] + '.' + extension
>
> > perhaps this should be the default?
>
> > Massimo
>
> That is exactly what I was looking for, and worked perfectly :-)
>
> Thank you again for the quick response.
>
> It would be great if this could be a permanent change.
>
> According to this:
>
> http://en.wikipedia.org/wiki/Comparison_of_file_systems
>
> FAT32 - max. 255 chars for filenames
> NTFS - 226 chars
> UFS1/2 - 255 chars
> ext2/3/4 - 255 chars
> XFS - 255 chars
> ZFS - 255 chars
>
> AFAIK those are the most common, so someone else is likely to run into
> the limit at some point.
>
> Thanx
>
> Rowdy
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to