That's good to know, thanks!zorg wrote:io.open's counterpart would be [wiki](File):open[/wiki].NickRock wrote:If you mean io.open equivalent, I don't think so. There's nothing similar to io.open in the documentation
Downloading with http.request corrupts file
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Downloading with http.request corrupts file
Weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeooow!!
Re: Downloading with http.request corrupts file
As suggested I've made it so the counter function appends the chunk to a 'file' variable.
When the thread is finished downloading, it returns that file and from there I can either load it up directly, or use love.filesystem.write to save it in my save directory.
Works perfect. Thanks for the help!
When the thread is finished downloading, it returns that file and from there I can either load it up directly, or use love.filesystem.write to save it in my save directory.
Works perfect. Thanks for the help!
Who is online
Users browsing this forum: No registered users and 12 guests