actually we have a strange problem with running lua scripts with wftpconsole.exe.
Simple example:
If we execute
Code: Select all
print("Now time: %CurrentTime \n")
Now time: Thu, 22 Oct 2015 10:16:26 GMT
But when we do this with wftpconsole (wftpconsole.exe -u USER -p PASSWORD -P PORT -f ScriptPath.lua) the following error occurs:
Script Content is absolutly the same...some error in [string "print("Now time: Thu, 22 Oct 2015 10:15:40 GMT &slash;n&qu..."]:1: unexpected symbol near '&'!