Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- pastebin run Pyu19FFw
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("install client - 1")
- print("install server - 2")
- print("quit - 3")
- term.write(">>")
- key = io.read()
- if key == "1" then
- shell.run("delete ftp.lua")
- shell.run("pastebin get 05ZYcrGQ ftp.lua")
- term.clear()
- break
- elseif key == "2" then
- shell.run("delete ftpServer.lua")
- shell.run("pastebin get K5k6vFEy ftpUpdate.lua")
- shell.run("pastebin get zVwn5N91 ftpServer.lua")
- term.clear()
- break
- elseif key == "3" then
- term.clear()
- break
- end
- end
- term.clear()
Add Comment
Please, Sign In to add comment