Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. url = "https://www.dropbox.com/s/v55bnrukw5qxiah/sg.txt?dl=1"
  2. local content = http.get(url).readAll()
  3. if not content then
  4. error("Could not connect to website")
  5. end
  6. f = fs.open(db, "w")
  7. f.write(content)
  8. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement