lua script on OS X El Capitan doesn't work with event OnFile

You can share your Lua Scripts with everybody here.

lua script on OS X El Capitan doesn't work with event OnFile

Postby ZMTH2 » Tue Apr 26, 2016 1:23 pm

Hi,

lua script on OS X El Capitan doesn't work with event OnFileDownloaded to multiple email

if ("%Name" == "aaa") then c_SendMail("email1@test.com","wftpserver alerte : %Name -> %FileName","%FileName has been downloaded.","","smtp")
elseif ("%Name" == "bbb") then c_SendMail("email2@test.com","wftpserver alerte : %Name -> %FileName","%FileName has been downloaded.","","smtp")
end

but lua script is ready on admin> console :

c_SendMail("email@test.fr","wftpserver alerte : %Name -> %FileName","%FileName has been downloaded","","smtp")


wftpserver version 4.7.1
OS X 10.11.4 El Capitan

maybe cron doesn't on osx 10.11.4?

any idea??

Regards
ZMTH2
 
1
 
Tue Apr 26, 2016 12:42 pm

Re: lua script on OS X El Capitan doesn't work with event On

Postby FTP » Tue Jun 21, 2016 3:27 pm

OK, please upgrade to the latest version 4.7.3, already fixed this issue.
FTP
Site Admin
 
1876
 
Tue Sep 29, 2009 6:09 am


Return to Lua scripts

Who is online

Users browsing this forum: No registered users and 2 guests