Forum GameFS How to get GameFS content Serverside

Discussion and help relating to the PlayerIO game asset hosting and CDN solution, GameFS.

How to get GameFS content Serverside

Postby jasonredhawk » January 6th, 2021, 10:20 pm

I have some data files on GameFS that I'd like to load serverside however the process I use on the clientside is by using WebClient (with the URL provided by GameFS.GetUrl() ) to download my data. My issue is I can't use WebClient serverside.

The data files on GameFS are serialized using BinaryFormatter. I was able to use WebClient to Stream that data so I can download and deserialize it. But WebClient is a no-go serverside so I'm not sure how to get my files.

So my question is how do I load GameFS files serverside?
jasonredhawk
Paid Member
 
Posts: 25
Joined: April 4th, 2013, 9:15 pm

Re: How to get GameFS content Serverside

Postby Emalton » January 10th, 2021, 7:57 pm

Looks like there's PlayerIO.GameFS in the docs:
https://playerio.com/documentation/refe ... ary.gamefs

Otherwise try PlayerIO.Web it looks like you have a paid plan:
https://playerio.com/documentation/refe ... ibrary.web
Emalton
 
Posts: 86
Joined: June 28th, 2013, 3:49 am


Return to GameFS