Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local url = "https://www.mediafire.com/file_premium/xumsv09kz6u4k68/siren.dfpwm/file" -- replace with the actual URL
- local response = http.get(url)
- if response then
- local content = response.readAll()
- local file = fs.open("siren.dfpwm", "wb") -- you can change the destination filename
- file.write(content)
- file.close()
- response.close()
- else
- print("Failed to download the file.")
- end
Add Comment
Please, Sign In to add comment