batch file - Curl call working in cmd but not in .bat -


following code working fine when ran cmd, fails (access denied) when ran bat pentaho di.

curl -k --data "data=username%%3[dusername]%%26password%%3d[password]%%26pid%%3d[1]%%26lid%%3d[2]" https://[...]/export/csv.php -o [...]\output.csv 

anything specific should aware of? assuming issue lies in credentials part.

i have managed fix creating external .bat file , calling pentaho's shell function. implementing code inside pentaho (it creates temp .bat file on run time).


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -