Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-08-2015, 11:14 PM
paxil paxil is online now
Registered User
 
Join Date: 03-18-2014
Location: Richmond, VA
Posts: 10
Redirection not working for Curl command

I am attempting to write the output of a curl command to a file and it is not working when executing through my VBP step (Run Command step), but it works fine when I manually run it from command prompt window.

This is an example of what I'm trying to execute:

curl.exe -k -x <MyProxy> -H "Content-Type: application/json; charset=UTF-8" -X PUT --data-binary "{\"password\":\"<MyPassword>\"}" https://%HOST_URL%/api/authenticate > E:\Temp\%ENVIRONMENT%\token.txt

I also tried the "read program output from file" and that does not work either. Currently I have it set to standard output when running the above command.

I'm using VBP 8.6. Is this a bug? Can anyone assist?
Thanks
Reply With Quote
  #2  
Old 06-08-2015, 11:21 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,494
See the first note at http://www.kinook.com/VisBuildPro/Manual/programtab.htm
Reply With Quote
  #3  
Old 06-09-2015, 01:56 AM
paxil paxil is online now
Registered User
 
Join Date: 03-18-2014
Location: Richmond, VA
Posts: 10
Thanks! That worked perfect.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:51 AM.


Copyright 1999-2017 Kinook Software, Inc.