Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. tape = peripheral.find("tape_drive")
  2.  
  3. url = "https://www.dl.dropboxusercontent.com/s/e9hp0nu00zotmg8/noreply.dfpwm")
  4. local response = http.get(url, nil, true) -- THIS IS IMPORTANT
  5.  
  6. tape.seek(-tape.getPosition()) --Rewind to start
  7. tape.write(response.readAll())
  8. response.close()
  9.  
  10. tape.seek(-tape.getPosition())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement