Mercurial Hosting > luan
diff src/luan/modules/host/Hosting.luan @ 1788:0a06d59578aa
add push_file
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 22 Dec 2023 09:48:52 -0700 |
parents | b82767112d8e |
children |
line wrap: on
line diff
--- a/src/luan/modules/host/Hosting.luan Tue Dec 12 19:15:29 2023 -0700 +++ b/src/luan/modules/host/Hosting.luan Fri Dec 22 09:48:52 2023 -0700 @@ -84,6 +84,7 @@ for _, s in ipairs(path) do there = there.children[s] or error("'"..s.."' not found on remote") end + print("copying "..my_file.to_string()) host.copy_file(domain,password,there.path,my_file.name(),my_file.read_binary()) host.update_handler(domain,password) host.close()