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.

I'm need of some assistance

If you have a question or need help, this is the place to be.
Post Reply
User avatar
Handler
Posts: 4
Joined: Thu Sep 04, 2014 4:40 pm
Location: Indianapolis, IN, USA
Contact:

I'm need of some assistance

Post by Handler »

Greetings!

I don't really use EG for much other than there is an Android app named Tasker and a plugin into that app called AutoRemote that has a plugin in EG to handle some file transfers and other simple request.

Here's what I want to do! When I send photos from my phone(s)/tablet to my PC I'd like to be able to upload them to a hosted website of mine and then build a really quick photo gallery.

Here's the log for when I send photos from my phone to EG:

Code: Select all

Receiving file IMG_20150418_144745.jpg
Receiving file IMG_20150418_144802.jpg
System.Idle
Got communication of type: Message
Files: C:\Users\Dave\AutoRemote-EventGhost\IMG_20150418_144745.jpg,C:\Users\Dave\AutoRemote-EventGhost\IMG_20150418_144802.jpg

This is a redirected message.
eg.event.payload.armessage: u'test'
eg.event.payload.arpar: [u'test']
eg.event.payload.files: [u'C:\\Users\\Dave\\AutoRemote-EventGhost\\IMG_20150418_144745.jpg', u'C:\\Users\\Dave\\AutoRemote-EventGhost\\IMG_20150418_144802.jpg']
eg.event.payload.sender: 
	key: u'***********************************************************************************************'
	name: u"Dave's Nexus 5"
	url: u'goo.gl/******'
	localIp: None
	port: None
	tryLocalIp: False
If I can tell EG to start an FTP transfer with those file to the hosted website and maybe include the list of files in a text file. I can build a php script to handle all that on the other side. I just don't know how to make it happen in EG.

Good time to get my feet wet learning the other things EG can do! I hope somebody can show me the ropes and teach me on how to do this!

I really really really appreciate the help!
bskchaos
Experienced User
Posts: 56
Joined: Tue Mar 25, 2008 3:04 pm

Re: I'm need of some assistance

Post by bskchaos »

You can use Directory Watcher to trigger events.
User avatar
Handler
Posts: 4
Joined: Thu Sep 04, 2014 4:40 pm
Location: Indianapolis, IN, USA
Contact:

Re: I'm need of some assistance

Post by Handler »

bskchaos wrote:You can use Directory Watcher to trigger events.
Could you give me a little bit more to go on? Where is this 'Directory Watcher?' Is it part of EG or is something on the outside all together?

Pretend I'm an absolute dummy. =)
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: I'm need of some assistance

Post by zian »

Handler wrote:
bskchaos wrote:You can use Directory Watcher to trigger events.
Could you give me a little bit more to go on? Where is this 'Directory Watcher?' Is it part of EG or is something on the outside all together?

Pretend I'm an absolute dummy. =)
No need to pretend. :)

https://www.google.com.sg/search?q=Dire ... eventghost
and or
https://www.google.com.sg/search?q=Dire ... st&spell=1
eventghost.net
Be there or be square.
Post Reply