Lua script to change password

Please post here if you have problems in using Wing FTP Server.
Post Reply
technobri
Posts: 2
Joined: Wed May 12, 2010 1:24 pm

Lua script to change password

Post by technobri »

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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Lua script to change password

Post by FTP »

Hi, please have a look at this post:
http://www.wftpserver.com/bbs/viewtopic.php?f=6&t=178
technobri
Posts: 2
Joined: Wed May 12, 2010 1:24 pm

Re: Lua script to change password

Post by technobri »

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
Post Reply