mellul wrote:I have been testing this thoroughly and every now and again something seems to change the ftp users password.
Any idea why this could be so? Also could it be because I am testing on an unregistered copy?
local tableUser = c_GetUser("%Domain","%Name")
for k,v in pairs(tableUser) do
if type(v) == "boolean" then
if v == true then
tableUser[k] = 1
tableUser[k] = 0
local filesize = tonumber("%FileSize")
tableUser.current_quota = tableUser.max_quota - filesize/1024
if tableUser.current_quota < 0 then
tableUser.current_quota = 0
tableUser.oldpassword = tableUser.password
Users browsing this forum: No registered users and 0 guests
Powered by phpBB © phpBB Group.