Page 1 of 1

WildCard For Folders

Posted: Mon Jan 31, 2011 7:47 am
by mmbmmbmmbmmbmmb
Please help me to use wild card (* , ?) for folder name.
ex.

Folder structure:
d:\folder1
d:\folder1\f1
d:\folder1\f1\Mr.a
d:\folder1\f1\Mr.b
.
.
.
d:\folder1\f1\Mr.x
d:\folder1\f2\Mr.a
d:\folder1\f2\Mr.b
.
.
.
d:\folder1\f2\Mr.x
d:\folder1\f3\Mr.a
d:\folder1\f3\Mr.b
.
.
.
d:\folder1\f3\Mr.x

I want to use this type of access to folder to Mr.b:
"d:\folder1\*\Mr.b"
Is it possible?
If it is not, is there any solution?
I know that it is possible in serv-u.

Thanks

Re: WildCard For Folders

Posted: Mon Jan 31, 2011 12:03 pm
by FTP
I guess you referred to subfolders' permissions. Yes, Wing FTP Server doesn't support wildcards for subfolder's path, you must specify a full path. For your requirement, you can add several subfolder permission rules.

Re: WildCard For Folders

Posted: Mon Jan 31, 2011 12:29 pm
by mmbmmbmmbmmbmmb
Thanks for your reply.
Is there any way to use api to solve this problem?

Re: WildCard For Folders

Posted: Mon Jan 31, 2011 12:36 pm
by FTP
The solution is adding several subfolder rules. If you want to use Lua API, you can use "c_AddUser" or "c_AddGroup" to modify an user or group.

Re: WildCard For Folders

Posted: Tue Feb 01, 2011 3:33 am
by mmbmmbmmbmmbmmb
You mean it is possible to simulate what i need with "c_AddUser" and "c_AddGroup" ?

Re: WildCard For Folders

Posted: Tue Feb 01, 2011 12:48 pm
by FTP
I just meant if you want to add user or group via Lua Webservice, then you can use Lua API "c_AddUser" or "c_AddGroup". Otherwise, just add it on the admin console, and in its "Subfolder" tab, you might add some subfolder permission rules for your requirement.

Re: WildCard For Folders

Posted: Sat Feb 19, 2011 5:58 am
by mmbmmbmmbmmbmmb
Do you think this feature will add to the wingftp in the future?
It is very important for me.

Re: WildCard For Folders

Posted: Sat Feb 19, 2011 7:36 am
by FTP
Wing FTP Server doesn't support wildcards for subfolder permission, so you just need to add a few subfolder permission rules.