1 parent
cc653ef5b0
commit
a328f09cc4
1 file changed
+1
@@ -27,6 +27,7 @@ function FtpApi:ftpGet(u, command)
|
||||
p.password = util.urlDecode(p.password)
|
||||
p.command = command
|
||||
p.sink = ltn12.sink.table(t)
|
||||
p.type = "i" -- binary
|
||||
local r, e = ftp.get(p)
|
||||
return r and table.concat(t), e
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user