>>>> I would like to convert the anlgform.pl perl script into ASP (For 
>>>> NT IIS users).  Could someone please inform me as to how 
>>>> anlgform.pl processes the information and passes it to analog.exe. 
>>>> Are commands passed through the cfg file then ran OR can commands 
>>>> be passed directly to the executable, if so, how can this be done?
>>>> 
>>> They're passed through in a pipe. Effectively an extra config file, 
>>> but never written to disk.
>
>Dave Cobb wrote:
>
>> Can this be piped into analog via a command prompt, e.g. MS-DOS 
>> style: analog | commands....
>> or is there another way of doing this?

Jeremy replied:

>Yes, in the perl script it's done like
>    open ("| analog");
>
>Which opens a pipe to which can be written the commands. I'm not sure 
>this can be done in ASP (I don't think a file spec can be opened in 
>any sense other than as a text stream or for file management). 

Using a pipe would be a little bit more convenient than writing the 
config entries to a temporary file, and deleting the file after you 
called analog, but the problem (as I see it) is that ASP doesn't offer 
a native mechanism for calling a .exe file (never mind capturing it's 
output stream).

Any chance you'd compile Analog as an ActiveX object, Stephen :-)

Seriously, though, if you have a control like ASPExec installed, 
replicating the anlgform.pl functionality isn't that difficult. But if 
you are reluctant to install anything as a control on your production 
servers, this doesn't really buy you much.

>If I find anything, Dave I'll post it.

Does anyone have any experience with ASPExec or other similiar controls 
for tasks like this? 
http://www.serverobjects.com/products.htm#Aspexec

Aengus

Unknown data type

Reply via email to