# Download document from SharePoint (NTLM Authentication)

**URL:** <https://forum.inductiveautomation.com/t/download-document-from-sharepoint-ntlm-authentication/69474>\
**Category:** Ignition\
**Tags:** python, scripting\
**Created:** [February 6, 2023, 10:50am UTC](https://forum.inductiveautomation.com/t/download-document-from-sharepoint-ntlm-authentication/69474 "2023-02-06T10:50:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Matthew.gaitan](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@Matthew.gaitan](https://forum.inductiveautomation.com/u/Matthew.gaitan)\
**Post date:** [February 6, 2023, 6:16pm UTC](https://forum.inductiveautomation.com/t/download-document-from-sharepoint-ntlm-authentication/69474/3 "2023-02-06T18:16:40Z")

</div>

> [@Webservices NTLM Auth](https://forum.inductiveautomation.com/t/webservices-ntlm-auth/12656/9):
>
> After some playing around I was able to setup a basic HTTP GET using Java and supplying NTLM auth. However, I am finding that I am getting import errors in the Gateway Scope, but not in the Designer scope. I am running the same Java (8.231) on both designer and gateway, is there some odd difference in context of why the below might fail? # Perform a basic HTTP Get to the provided URL using the NTLM auth in the function def \_httpGetNTLM(url): from org.apache.http.auth import AuthScope from …

I've been using this successfully for a couple of months to get our ArcGIS data into perspective with no issues

---

_[View the full topic](https://forum.inductiveautomation.com/t/download-document-from-sharepoint-ntlm-authentication/69474)._
