This commit is contained in:
Julian Brammer 2024-06-08 21:51:19 +02:00
parent 28713a02ae
commit 2895690914

View File

@ -24,13 +24,13 @@ local copyList = {
}
print("[Syncing]")
print("[Syncing start]")
for i=0, #copyList do
getRequest = http.get(prefix .. copyList[i])
print("Downloaded " .. copyList[i])
print("[wget] " .. copyList[i])
file = fs.open(copyList[i], "w")
file.write(getRequest.readAll())
file.close()
end
print("[Sync complete]")
print("[Sync end]")
sleep(1)