What is the best way to share resources between a server and client?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By raymoo
:warning: Old Version Published before Godot 3 was released.

What is the recommended way in Godot 3.0 to have a server provide resources to the client, such as textures?

I guess using a Web server for this still is the best way to go today, as UDP-based file transfers are usually slow. It will make server setup more complex though, since every server owner will have to set up a Web server with additional game files being publicly accessible.

The use of simple, “ad-hoc” HTTP servers (like serve) can make this easier, but then, using HTTPS generally becomes impossible (despite being supported by Godot).

Calinou | 2017-06-05 10:40

That’s sort of an unsatisfying answer but I think it’s what I expected, since it didn’t look like the Godot API had anything particularly useful for file transfers.

raymoo | 2017-06-06 00:53