comparison src/luan/modules/host/Hosting.luan @ 1597:cd2a0c41b23f

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 26 Mar 2021 20:20:21 -0600
parents a9ff30fb5d89
children b82767112d8e
comparison
equal deleted inserted replaced
1596:a9ff30fb5d89 1597:cd2a0c41b23f
82 there~=nil or error "site not created" 82 there~=nil or error "site not created"
83 for _, s in ipairs(path) do 83 for _, s in ipairs(path) do
84 there = there.children[s] or error("'"..s.."' not found on remote") 84 there = there.children[s] or error("'"..s.."' not found on remote")
85 end 85 end
86 host.copy_file(domain,password,there.path,my_file.name(),my_file.read_binary()) 86 host.copy_file(domain,password,there.path,my_file.name(),my_file.read_binary())
87 host.update_handler(domain,password)
88 host.close()
87 end 89 end
88 90
89 function Hosting.delete(domain,password) 91 function Hosting.delete(domain,password)
90 local host = Rpc.remote(domain) 92 local host = Rpc.remote(domain)
91 host.delete(domain,password) 93 host.delete(domain,password)