Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all articles
Browse latest Browse all 5979

Problem with CFExecute...

$
0
0

I am trying to use cfexecute to run a video conversion application. The application is installed at:

C:\Program Files\SourceTec\vee\vee.exe

 

The video I want to convert is stored in the temp directory as returned by GetTempDirectory() which in this case is:

C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\

 

I've tried a wide range of different ways to call this program and whenever it seems like I'm getting close, I get the following error:

Error: Failed to open the source file "C:\ColdFusion9\runtime\bin\vee".

 

I don't have any files in that directory and am not attempting to access it explicitly but ColdFusion keeps trying to find something in that directory and I don't understand why.

 

The following code works:

<cfexecute name="C:\Program Files\SourceTec\vee\vee.exe" arguments="vee -v" timeout="300" variable="results"></cfexecute>

...but all it does is display the version number of the video encoder engine: Version: 3.2 (Build 322)

 

When running this code:

<cfexecute name="C:\Program Files\SourceTec\vee\vee.exe" arguments="vee #GetTempDirectory()#test.avi -i" timeout="300" variable="results" ></cfexecute>

...It should look at the test.avi file in the temp directory and return info about it (-i). Instead, I get the error I mentioned above:

Error: Failed to open the source file "C:\ColdFusion9\runtime\bin\vee".

 

Why is CF looking in C:\ColdFusion9\runtime\bin\vee for a source file?


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>