Using LoadFromCacheOrDownload To Update a Server from a Client (Unity 4.5.5)

I’m curious to know if it’s possible to update a server’s AssetBundles from an (authenticated) client? I’m attempting to do so in order to avoid having to upload the documents manually to the server.

If it is possible, What would be the Path used to connect to the client? My gut instinct told me to try:

Network.playerIP + “/folder/filename.foo”

But this (at least with the XML loader that’s handling things a step before the LoadFromCache) throws a Directory Not Found error. The error logs claim it’s looking at “C:\Users.…<playerip>\folder\filename.foo”.

So, is my plan a) possible and b) sensible? I may be barking up the wrong tree entirely here.

Any suggestions would be welcome, although upgrading to Unity 5 is (currently) not an option due to compatibility.

Thanks!

Since it takes URLs, your client has to have a http-server running (apache, lighthttp) or you could make your own server in unity. You would have to handle incoming traffic and route that to specific files. I would say it is way easier just to upload something via ftp (edit: and a dedicated client for that, or handle the upload in unity, again).