You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Hundredsoft add start
if (file ~= nil) then
local fp = io.open(file, "rb")
if (fp ~= nil) then
local r1, r2 = string.match(reqbody, "(.-)%<%!%-%-WLANSDFILE%-%-%>(.+)")
if (r1 ~= nil and r2 ~= nil) then
reqbody = r1 .. fp:read("*a") .. r2
end
fp:close()
end
end
-- Hundredsoft add end
で、改善できるのではないでしょうか。
The text was updated successfully, but these errors were encountered:
https://flashair-developers.com/ja/documents/api/lua/reference/#request
のファイルアップロードのサンプルコードから、xight/flashair-lua-devを呼び出したが、通信が完了しない。
(CentOS 6.7 x86)
「引数bodyに、が記述された場合、置き換えで、file内容を埋め込む」
というFlashAir独自仕様が満たされていないように思います。
少し、冗長ですが
65a66,78
The text was updated successfully, but these errors were encountered: