args = {...} request = http.get(args[1]) file = fs.open(args[2], "wb") file.write(request.readAll()) request.close() file.close()