10 FTP下载报错500 'EPSV': command not understood. 悬赏已过期

发布于 2022-03-21 04:48:24

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.

查看更多

关注者
0
被浏览
553
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览