AbelCam Forum
Download AbelCam buy Pro
 
 
 
Welcome Anonymous User
11/22/2024 - 10:29 PM
Quick Search:
Quick Jump:
 
Announcements
Latest Topics
 
External Commands?
By: JarkkoM
Rank: Frequent User
Topics: 16
From: n/a
Added: 04/14/2006 - 05:43 PM

If I for examble want to run "test.bat" in my server, how I do it?

In Logisphere, Commands, "address" is my server address? Or what?
And command is "test.bat" if it's in server root directory? If it it's somewhere else, how I then should do?

And most important, how I call the command from html page?
By: sse
Rank: Forum Addict
Topics: 73
From: n/a
Added: 04/14/2006 - 06:05 PM

Hello Jarkko
have a look at the LogiSphere program folder. In there you find

- a file test.html
- a folder commands
- in the commands folder a readme.txt with 6 examples

If I for example want to run "test.bat" in my server, how I do it?
there are two ways to do that. If it does not require parameters you can just use a include as ipconfig in the test.html

In Logisphere, Commands, "address" is my server address? Or what?
as the tooltip suggests it is the URL without the http://server:8080/ part. You can assign any address. Be careful you don't use an address that is used for other purposes (e.g. current.jpg Smile! ) See the examples in the readme.txt

the script.cmd example is probably most interesting for you, script.cmd is also in the commands folder.

And command is "test.bat" if it's in server root directory? If it it's somewhere else, how I then should do?
the command location is relative to the logisphere program folder. Or just put it in any directory in your path.

And most important, how I call the command from html page?
see test.html

Hope this helped

Stefan
By: JarkkoM
Rank: Frequent User
Topics: 16
From: n/a
Added: 04/14/2006 - 07:43 PM

Thanks

I haven't noticed those examples at all. Have to test them.