I'm trying to run LUA script with argument. The script is running, but doesn't get an argument.
Code: Select all
wftpconsole.exe -u Username -p Password -f myscript.lua ARGUMENT
Code: Select all
Allowed options:
--help Show this message
-u [ --username ] arg Username (Required field)
-p [ --password ] arg Password (Required field)
-h [ --host ] arg Remote host IP address,default is localhost
-P [ --port ] arg Remote host port,default is 5466
-f [ --file ] arg Parse and execute local Lua <file>
-s [ --ssl ] Use SSL connection
Code: Select all
lua.exe myscript.lua ARGUMENT