luaftpserver
Copyright (c) 2013-2018 brinkqiang (brink.qiang@gmail.com)
Build status
Linux | Mac | Windows |
---|---|---|
env
install cmake
Intro
luaftpserver
local luaftpserver = require("luaftpserver")
local ftpserver = luaftpserver.ftpserver.new("0.0.0.0", 2121)
ftpserver:addUserAnonymous("anonymous", 33)
ftpserver:addUser("user", "pass", "root", 511)
ftpserver:start(4)
ftpserver:run()