lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Your callback function should return the number
of bytes it handled, e.g.

c:setopt(curl.OPT_WRITEFUNCTION,
 function(userparam, buffer) f:write(buffer); return #buffer end)

- Jeff

And it works !

Thank you very much,

--
Philippe Bulens