I am looking for a method to download .morph files from the EasyMorph server and save them to a safe location (as backup). I am thinking of using an API to do that.
I know Python so I was wondering if you would be able to guide me on this please?
Or if you have any other better suggestions, could you please share those for me?
The simplest option would be to use the ems-cmd command-line utility. It’s lightweight, cross-platform, and can be used from any programming language, including Python.
It comes with EasyMorph Server installation, or can be downloaded separately.
That’s perfect. That is exactly what I had in mind.
What additional permissions will I need to make this work? I understand I might need access to the EM server which is installed on someone’s machine. I currently do not have the server downloaded on my machine. I only have access to the server on the browser.
I think this command line API does not need the server to be downloaded on the machine of the one who is running those commands (myself) and I can connect to the server remotely. Is that correct?
Secondly, I know we can download the files one by one but is there an option to download files in bulk too? So for instance if I have about 10 files on ABC server space, and I want to download 8 out of the total 10 files, can I download those 8 files at once by specificying the id?
Thank you once again for your kind support. EM team is the best