mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
@@ -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