Page 1 of 2

EasySave + GoogleDrive tutorial ?

Posted: Sat Apr 03, 2021 5:14 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sat Apr 03, 2021 5:23 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sat Apr 03, 2021 6:16 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sat Apr 03, 2021 8:54 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sat Apr 03, 2021 9:29 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sun Apr 04, 2021 1:47 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sun Apr 04, 2021 2:17 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Sun Apr 04, 2021 8:21 pm
by PhilDark
Files appear in the DB

Image

But are they on the server ? If yes, where ?
Phil

Re: EasySave + GoogleDrive tutorial ?

Posted: Sun Apr 04, 2021 8:37 pm
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

Re: EasySave + GoogleDrive tutorial ?

Posted: Mon Apr 05, 2021 8:12 am
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