local ftp = require("socket.ftp")
ftp.TIMEOUT = 20 --设置超时时间
flag,e = ftp.get("ftp://123:123@172.172.0.8/aaa.tepe;type=i")
if flag then
local file = io.open("/var/touchelf/scripts/aaa.tepe","w")
file:write(flag)
file:close()
else
logDebug(e)
notifyMessage(e);
end
ftp服务器是内网架设,电脑浏览器打开正常。
触摸版本为5.X
报错:500 'EPSV': command not understood.