Hi Robin, To me, "preemptive" implies that you call http_setAuth() before calling http_string(). From your code, it appears that you are already doing it preemptively -- at least, you are if P$User and P$Pwd aren't blank. The other (non-preemptive) way would be to call http_string() first, and then if you got a 401 error, call http_getAuth() to find out what it's asking for, then http_setAuth() and finally http_string() a second time. This is not preemptive because you didn't send the userid/password until after trying it the first time. But, you don't seem to be doing that. Could it be that your integration team is taking a wild guess at it instead of actually looking at what is sent? -SK On 6/28/2018 8:04 AM, Robin Jacob
wrote:
|
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi