Hi,

Sorry, but it does not work. I must use quotes, 'cause my full regexp =

contains white spaces

PathAllowFilter "^[a-zA-Z0-9_\.\$()-]+$|^New folder$"

But I tried without quotes, with double antislashes or not... does not work =





----- Original Message ----- =

From: "TJ Saunders"
To:
Sent: Wednesday, August 16, 2006 7:26 PM
Subject: Re: [Proftpd-user] Characters forbidden with PathAllowFilter


>
>> Here is what I had written :
>>
>> PathAllowFilter "^[a-zA-Z0-9_\.\$()\[\]-]+$"

>
> I would recommend trying either:
>
> PathAllowFilter ^[a-zA-Z0-9_\.\$()\[\]-]+$
>
> or:
>
> PathAllowFilter "^[a-zA-Z0-9_\\.\$()\\[\\]-]+$"
>
> The difference is the quoting. When dealing with a quoted string,
> proftpd's configuration parser will itself see the backslash, and handle
> it as an escape character. With regular expressions like this, you need
> the regular expression compiler to see that backslash. So you can either
> remove the quotes (as in the first example), or keep the quotes and add
> another backslash (as in the second example).
>
> Hope this helps,
> TJ
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~=

~~~~~~
>
> To love is to place our happiness in the happiness of another.
>
> -Gottfried Wilhelm von Leibniz
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~=

~~~~~~
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job =


> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=...=3D263057&dat=

=3D121642
> _______________________________________________
> ProFTPD Users List
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html =




=

p4.vert.ukl.yahoo.com uncompressed Thu Aug 17 05:27:01 GMT 2006 =

=

=

__________________________________________________ _________________________ =

D=E9couvrez un nouveau moyen de poser toutes vos questions quelque soit le =
sujet ! =

Yahoo! Questions/R=E9ponses pour partager vos connaissances, vos opinions e=
t vos exp=E9riences. =

http://fr.answers.yahoo.com =




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...63057&dat=3D1=
21642
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html