Gossamer Forum
Home : Products : Others : Fileman :

Directory name too long!?!?!

Quote Reply
Directory name too long!?!?!
I recently added a new directory to my site that is 18 characters long. I have a particular directory that I needed to do some quick editing in (a few bad links, fix some mis-spelled words, etc.). When I tried to change to the directory, it gave me this:
Quote:
Error! The following error occured:


Invalid Directory: 'Observation_Lounge'. Reason: Directory Name too Long. Please keep it to less then 15 characters.

Please press back on your browser to fix the problem.

I'm not using any type of foreign or unusual characters except for the underscore (which is a normal ASCII character). I can do my editing by downloading, editing, and uploading, but it is so much easier to do it through FileMan. What can I change to get rid of this problem? Thanks!
Quote Reply
Re: Directory name too long!?!?! In reply to
Load the FileMan script in your editor and go to the sub is_valid_dir routine. Change the following:

Quote:
(length($last_dir) > 15) and return ($dir, "Directory Name too Long. Please keep it to less then 15 characters.");

Change the 15's to whatever length you want, within reason. 20 or 25 might be good.

I hope this helps.
Quote Reply
Re: Directory name too long!?!?! In reply to
Thanks!