Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --tom2018--
- rednet.open("top")
- url = "test.org"
- print("Hosting "..url)
- datalocation = "data"
- while true do
- while y ~= url do
- x,y = rednet.receive()
- end
- file = fs.open(datalocation,"r")
- rednet.send(x,file.readAll())
- file.close()
- y = nil
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement