Uploading files to drive or any cloud service

If you have a question or need help, this is the place to be.
Post Reply
z3us
Posts: 42
Joined: Fri Jul 29, 2011 2:35 am

Uploading files to drive or any cloud service

Post by z3us » Mon Mar 05, 2018 9:22 pm

What´s the best way to do it?
Basically I want to upload periodically a copy of my eventghost xml file
Thx

jachin99
Experienced User
Posts: 606
Joined: Sat Feb 13, 2016 8:39 pm

Re: Uploading files to drive or any cloud service

Post by jachin99 » Tue Mar 06, 2018 1:34 pm

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?

User avatar
yokel22
Experienced User
Posts: 265
Joined: Thu Feb 05, 2015 5:56 pm
Location: U.S. - Kansas city

Re: Uploading files to drive or any cloud service

Post by yokel22 » Tue Mar 06, 2018 3:20 pm

Store your eg tree xml in your cloud folder. Whenever you save the file it will be uploaded to drive or other cloud service.

User avatar
Neytrino-OnLine
Experienced User
Posts: 97
Joined: Tue Aug 20, 2013 7:14 pm
Location: Moscow, Russia

Re: Uploading files to drive or any cloud service

Post by Neytrino-OnLine » Wed Mar 07, 2018 7:11 am

z3us, you can do it by EventGhost itself, using Python (os.path & shutil)
Sin©erely yours, Neytrino.

z3us
Posts: 42
Joined: Fri Jul 29, 2011 2:35 am

Re: Uploading files to drive or any cloud service

Post by z3us » Wed Mar 07, 2018 3:28 pm

Neytrino-OnLine wrote:
Wed Mar 07, 2018 7:11 am
z3us, you can do it by EventGhost itself, using Python (os.path & shutil)
Thx, but I don´t know python :?

User avatar
kgschlosser
Site Admin
Posts: 5120
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Uploading files to drive or any cloud service

Post by kgschlosser » Sun Mar 11, 2018 6:22 am

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.
If you like the work I have been doing then feel free to Image

Post Reply