Attempting to use GetToFile to call a url with additional information in the url that is required. I can use a curl command with the sample below and all works. I created a roUrlTransfer and set the url to the same url being used in the curl but I am not getting anything. I have set up something to chekc the error, seems to be coming back as -3, malformat. Does the seturl need to be formatted another way? I have a feeling it has to do with the -H, but not sure how to include it in the url other than I have it. Works as shown for the curl. Thanks
Using -H is specific to curl, it won't work with anything else and it definitely doesn't belong in a URL. In Brightscript the corresponding mechanism is ifHttpAgent.AddHeader. Since it's a cookie you're trying to add, you might also be able to use the Cookie methods in ifHttpAgent, but I'd start with AddHeader and make sure that works first.