question

kaoe avatar image
kaoe asked

Upload files, I have to pay the server?

I want to upload music created in my application, so that other users can download and listen, I am using the script of this example to upload https://community.playfab.com/questions/121/205469488-How-to-upload-files-to-PlayFab-s-Content-Service.html And using the example of a test image, the upload happens and the download also, I get in debug.Log the HTTP path, but I can not access why it returns me "Access Denied". So I wanted to know if I'm doing the right thing to do UPLOADS and DOWNLOADS of files, and if I'm doing it right, why can not I access it? Or is there another way? Do I need to pay to do this upload? Could someone explain?

sdks
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kaoe avatar image kaoe commented ·

Nice, understood. You could reply this problem that I struggling ?https://community.playfab.com/questions/26898/why-when-i-create-a-player-show-this-user.html

I need to fix this as soons as possible for the project !
Thank you !

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

Specific to your question, have a look at the Content page in the Game Manager. The Content service is our CDN, and it's priced at $0.10 USD per GB downloaded. So yes, to use it you must first provide payment information.

But specific to your design, you would have to use a custom game server to allow clients to upload to the Content service, as there is no Client API call for that (because if there were, every title in our service that hasn't turned off those API calls would become an illegal fileshare in no time). If you're not planning on using a custom game server, I'd recommend waiting on our updated Commerce service (mentioned here: https://blog.playfab.com/blog/upcoming-roadmap-2018-q4-oct-dec-edition), as it will provide a complete UGC service, as well.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.