Proftpd: PathAllowFilter (folder cannot be created)

Hello guys,

Hope to get some help with Proftpd setting.

I have this in my proftpd.conf to prevent shared hosting users from uploading file extentions other than /html|htm|jpg|jpeg|gif|bmp|swf/i.
-----
PathAllowFilter "\.((([hH][tT][mM])|[lL])|(([jJ][pP])[eE]?([gG]))|([gG][iI][fF])|([bB][mM][pP])|([sS][wW][fF]))$"
-----

The RegEx works with files, but when I try to create a folder, it denies because folders usually does not have any extentions.

Does anyone know that how I can work around it?
Any suggestion is appreciated.

Thank!

- AminoCoQ

 

 

 

 

Top