I'm testing Wing FTP Server trial version.
I use a MySQL database. If I change the database password for the user without the use of Lua API, then the Wings do not see these changes.
I suggest you add a Lua command c_Reload (), it will cause the server to reread its configuration.
Wing FTP Server Reload configuration command
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: Wing FTP Server Reload configuration command
Do you read the help manual? It says, adding/editing user account by SQL operation is not a recommended method, we suggest you use Lua webservice to make it.
-
- Posts: 8
- Joined: Wed Feb 22, 2012 6:04 am
Re: Wing FTP Server Reload configuration command
I tried to do this by means of Lua here: http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=1231" rel="nofollow
I have not turned out for the allocation of access rights.
I did it in PHP and MySQL
Have an idea after changing the password to connect to the server nonexistent login, this should cause the server to reread the user table.
Unfortunately this does not always work.
I have not turned out for the allocation of access rights.
I did it in PHP and MySQL
Have an idea after changing the password to connect to the server nonexistent login, this should cause the server to reread the user table.
Unfortunately this does not always work.
-
- Site Admin
- Posts: 2083
- Joined: Tue Sep 29, 2009 6:09 am
Re: Wing FTP Server Reload configuration command
Yes, just follow that post, that is the right way.