EasySave + GoogleDrive tutorial ?

Discussion and help for Easy Save 3
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Hello, is there somewhere a step by step tutorial explaining how I can upload / download files (images particularly) using EasySave ?
With Playmaker actions it would even better !
This is very important to me...
Thanks, best regards
Phil
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: EasySave + GoogleDrive tutorial ?

Post by Joel »

Hi Phil,

Unfortunately we don't support Google Drive. However, there's information here on how you might be able to integrate Easy Save with a Google Drive plugin:

https://docs.moodkie.com/easy-save-3/es ... rage-apis/

We also have ES3Cloud functionality which allows you to upload data to a MySQL database on your own server, which is documented here:

https://docs.moodkie.com/easy-save-3/es ... -es3cloud/

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

Re: EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Thans for your very quick answer !

What a pity ! My knowledge about using Google drive API is about zero...
More than 1 billion users of GoogleDrive, and no existing asset to easily manage files on these servers.
It seems that there is only one guy working on the Google SDK https://elringus.me/unity-google-drive/
https://forum.unity.com/threads/google- ... ed.515360/
I am convinced that proposing a feature to manage GDrive files (or a tutorial to do this with your asset) would be a great idea !
I’ll try to use my own server, but using GDrive would have been much easier for my project...
Please let me know if you plan something about Google Drive.
Best regards.
Phil
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

Re: EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Sorry its me again. I am not so familiar with database management, so I have some (maybe already answered somewhere) questions.
I copied the .php file on my server and I get this window :
Image
Can you tell me more about the fields that I have to fill ?
Why are DB User and Password already filled ?
Do I have to create a DB on my server ?
Is there somewhere a tutorial explaining the whole process ? Or a video ?
Some explanations would be most welcome for the newbies like me...
Best regards
Phil
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: EasySave + GoogleDrive tutorial ?

Post by Joel »

Hi there,
Do I have to create a DB on my server ?
This is correct. If you're unsure regarding this and the fields you need to fill in, you should contact your server provider for more information.
Why are DB User and Password already filled ?
This is because auto-complete is enabled in your browser.
Is there somewhere a tutorial explaining the whole process ? Or a video ?
As setting up a database vastly differs between server providers, it wouldn't be possible for us to provide a tutorial on that part of the process. Instead it would be the responsibility of your server provider to provide more information on this.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

Re: EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Ok thanks, I got an API key, no more error. I had to add Localhost to the name of the DB.

As explained here https://docs.moodkie.com/easy-save-3/es ... le-action/
I made a very simple PlayMaker script to upload a file from my computer to my server.

Image

I noticed 2 issues :
- for a small file, (less than 2MB) I don't get any error, but the file seems not to be in the server...
- for a larger file (eg 5MB) I get a "500" error, which is described as an "Internal Server Error A generic error message, given when an unexpected condition was encountered and no more specific message is suitable."
And of course the 5MB file doesn't upload either...

Where should be uploaded the files ? In the same folder as the PHP file ?
Did I miss something ? Anything to configure ?

Best regards
Phil
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: EasySave + GoogleDrive tutorial ?

Post by Joel »

Hi Phil,

The uploaded files are stored on the MySQL database. Please could you check the tables on the MySQL database to check that the file has been stored?

Regarding 500 Internal Server errors, these are errors thrown by your server. To understand what is causing the error you will need to look at your server logs (or contact your server provider to do this for you).

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

Re: EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Files appear in the DB

Image

But are they on the server ? If yes, where ?
Phil
User avatar
Joel
Moodkie Staff
Posts: 4824
Joined: Wed Nov 07, 2012 10:32 pm

Re: EasySave + GoogleDrive tutorial ?

Post by Joel »

Hi there,

The files exist on the database on your server. They don't exist as files on your FTP as this would be unsecure.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
PhilDark
Posts: 11
Joined: Sat Apr 03, 2021 5:10 pm

Re: EasySave + GoogleDrive tutorial ?

Post by PhilDark »

Joel wrote: Sun Apr 04, 2021 8:37 pm Hi there,
The files exist on the database on your server. They don't exist as files on your FTP as this would be unsecure.
All the best,
Joel
Sorry, but I am afraid there is a misunderstanding... What I want to do - from the beginning, is to save (upload) files (eg screen captures of the Unity game) to a server... This is not possible with your asset ? :roll: :o :?

Phil
Post Reply