What┬┤s the best way to do it?
Basically I want to upload periodically a copy of my eventghost xml file
Thx
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Uploading files to drive or any cloud service
Re: Uploading files to drive or any cloud service
What version of Windows are you running? If its Win 10, I believe they have or will soon update it so that onedrive appears as a local drive. If you can get your cloud storage to appear as local storage, then maybe you could just use something like Robocopy to move the files. What are you using for cloud storage?
Re: Uploading files to drive or any cloud service
Store your eg tree xml in your cloud folder. Whenever you save the file it will be uploaded to drive or other cloud service.
- Neytrino-OnLine
- Experienced User
- Posts: 99
- Joined: Tue Aug 20, 2013 7:14 pm
- Location: Moscow, Russia
Re: Uploading files to drive or any cloud service
z3us, you can do it by EventGhost itself, using Python (os.path & shutil)
Sin┬®erely yours, Neytrino.
Re: Uploading files to drive or any cloud service
Thx, but I don┬┤t know pythonNeytrino-OnLine wrote: Wed Mar 07, 2018 7:11 am z3us, you can do it by EventGhost itself, using Python (os.path & shutil)
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Uploading files to drive or any cloud service
I have an almost complete google drive plugin. Its not that fancy at the moment. But it supports opening, downloading, uploading, listing, deleting, trashing. I am working out a couple of things with the authentication, specifically renewing the token. I have to find out if there is a way to achieve this without user intervention. because of how the authentication works it requires that a port gets forwarded if you are using a router. I have set this up to be automatic (provided uPNP is turned on on the router). Unfortunately my router really sucks in the upnp department and doesn't respond to SSDP discover packets. so I am unable to test the functionality of this. I am going to poke about it for a little bit tonight to see if there may be a better way to go about the authentication aspect of it.
