Islam Ahmed Posted October 4, 2021 Share Posted October 4, 2021 I have BW6 runing on linux OS Machine when i'm trying to run the below curl command on the terminal i got the success Response curl -I -k -u ${UNAME}:${PASSWORD} --upload-file /data/script/testProdSimulation.txt https://URL but when i tried to run it through TIBCO bw6 designer (using External Command Activity) , the result is unauthorized. can anyone help Link to comment Share on other sites More sharing options...
Emmanuel Marchiset 2 Posted October 19, 2021 Share Posted October 19, 2021 it might be that the environment variables ${UNAME} and ${PASSWORD} are not set when starting the command from BW. I would try to invoke the curl command from a script shell (sh) like suggested in the following KB : https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-32917 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now