SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top