Joined: 26 Jan 2019 Posts: 36 Location: don't have
Posted: Thu Mar 21, 2019 4:02 pm Post subject: Dwonload file
When download a file using this code ..
Code:
local url = "http://localhost/myfile.dll"
local a= getInternet()
local test = a.getURL(url)
local file = io.open("E:\\myfile.dll", "w")
file:write(test)
file:close()
the file corrupts and does not work
Is there a solution to this problem _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum