Lua script to change password

Please post here if you have problems in using Wing FTP Server.

Lua script to change password

Postby technobri » Wed May 12, 2010 1:29 pm

I'd like to create a lua script to change the password on a user account. There isn't an API function to change user settings only c_AddUser to create users. Anyone done anything like this or got any suggestions on how to?
Thanks
Brian
technobri
 
posts 2
 
joined Wed May 12, 2010 1:24 pm

Re: Lua script to change password

Postby FTP » Wed May 12, 2010 1:36 pm

Hi, please have a look at this post:
viewtopic.php?f=6&t=178
FTP
Site Admin
 
posts 1243
 
joined Tue Sep 29, 2009 6:09 am

Re: Lua script to change password

Postby technobri » Wed May 12, 2010 1:48 pm

HI, Perfect!
Thought it would be a case of reading in the existing user but wasn't sure how to go about it.
Thanks v much
technobri
 
posts 2
 
joined Wed May 12, 2010 1:24 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests