.
This commit is contained in:
parent
28713a02ae
commit
2895690914
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user