Hello,
I'm in the beginning stages of trying to communicate with an external device using wired ethernet.
Basically my goal is to access this machine and get a directory listing. There are files on the
machine which I eventually will upload to a database.
The Livecode app I have written is able to do all of this on my local machine but now I need to expand the app
to do this remotely as well.
Any pointers?
Thanks!
Accessing remote device via ethernet.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Accessing remote device via ethernet.
You can do this via SSH with LiveCode's shell command, but since SSH requires a password you'd first need to bypass that with a shared SSH key (generally a good idea for security reasons anyway).
Alternatively, you can use other daemons besides sshd, such as a Web server, or even a custom server made with LiveCode.
Another possibility is that if the host machine has a compatible file system and sharing protocol you can mount it and address it with simple file I/O functions.
Alternatively, you can use other daemons besides sshd, such as a Web server, or even a custom server made with LiveCode.
Another possibility is that if the host machine has a compatible file system and sharing protocol you can mount it and address it with simple file I/O functions.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Accessing remote device via ethernet.
Thanks for the quick response.
Basically I am going to be running an axis2 server on the remote machine and sending
jar commands through my app which is on another machine. Is this doable from within a LiveCode stack?
Basically I am going to be running an axis2 server on the remote machine and sending
jar commands through my app which is on another machine. Is this doable from within a LiveCode stack?