Letting users create ftp account.

Please post here if you have problems in using Wing FTP Server.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Letting users create ftp account.

Post by FTP »

Hi,Andre

Sorry, Maybe there is a bit mistake in the scripts. Please change some code as following:

$strLuaScript = <<<EOT
c_AddUser('$domain','$username',md5('$password'),63,1,1)
c_AddUserDirectory('$domain','$username','$homedir','/',true,true,false,false,false,true,false,false,false)
EOT;


Note, variable $homedir must be a physical path.
Andre
Posts: 22
Joined: Mon Oct 05, 2009 7:12 am
Location: Oosterwolde, Friesland, the Netherlands
Contact:

Re: Letting users create ftp account.

Post by Andre »

It works! Thank you. :-)
We're going to test it and test it and test it.

:-)
Post Reply