Letting users create ftp account.

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

Re: Letting users create ftp account.

Postby FTP » Thu Jan 14, 2010 8:20 am

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.
FTP
Site Admin
 
posts 1232
 
joined Tue Sep 29, 2009 6:09 am

Re: Letting users create ftp account.

Postby Andre » Thu Jan 14, 2010 9:55 am

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

:-)
Andre
 
posts 22
 
joined Mon Oct 05, 2009 7:12 am
Location: Oosterwolde, Friesland, the Netherlands

Previous

Return to Support

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron