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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -