|
-
Oct 12th, 2004, 12:41 AM
#1
Thread Starter
New Member
Executing a perl script from ASPX page?
Hi all...
I'm writing a page to act as a front-end for a utility script we have on my company's intranet. The script is a perl script, and it basically converts an EDL to different fps formats. The problem is that I want to be able to have the user select an input EDL, supply an output name, and then run the script at the server. These files will be on networked drives accessible by the server, so there shouldn't be any uploading required... just needs to execute "perl scriptName inputFile > outputFile".
I have downloaded AspExec and installed it on the server, as well as ActivePerl. I can get the script to work manually in the console, but I can't get the webpage to execute it.
One problem is that all of the documentation for AspExec uses Visual Basic (or VBScript), and I'm not sure what type my variable should be to store an object of AspExec.Execute. I tried the following with no success:
Code:
Object fpsScript = new AspExec.Execute();
However, it said the properties of AspExec did not exist in type Object when I tried to use them.
Ex. fpsScript.Application = "perl";
Can anyone suggest any way to do this?? Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|