Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tHttpRequest

Hi I'm trying to use the tHttpRequest component to fetch a file from a cloud based sharepoint using TOS 6.3.0.

 

I've tried various combinations of the URL but am failing to retrieve the file, be grateful for any assistance,

currently the URL looks like this:

"https://xxx.sharepoint.com/Freigegebene%20Dokumente/Forms/AllItems.aspx?id=%2FFreigegebene%20Dokumen..."

 

 

I am supplying correct credentials and the method is set to GET.

 

Thanks in advance.

Labels (1)
7 Replies
cterenzi
Specialist
Specialist

What sort of response are you getting?
Anonymous
Not applicable
Author

Hi thanks for replying, currently the above URL is giving '403 Forbidden'.

 

I have tried multiple combinations and think the URL is the problem, as I'm new to this, I'm not sure how to specify correctly.

 

Grateful for advice.

 

cterenzi
Specialist
Specialist

That's an authentication issue. How is your component configured to use credentials?
Anonymous
Not applicable
Author

Hi again, the component is configured to accept a username and password which I have supplied and ticked the 'Authentication Required' box.

 

 


talend.jpg
Anonymous
Not applicable
Author

Hi be very grateful for assistance with this issue, I'm stuck 😞
cterenzi
Specialist
Specialist

I've only done limited http file retrieval with systems that weren't intended to service web requests, so please don't take my advice as "best practice".  What's worked for me is to use a tool like Fiddler to watch web traffic while I log in to a site and retrieve what I need, then examine the POST or GET request sent and try to mimic that with a tFileFetch component.  This usually means setting my own POST parameters like so:

0683p000009LvRL.png

 

I have no idea if this will work with a sharepoint server.  Another idea, the tFileFetch component has an Advanced Setting "Enable NTLM Credentials" that may help get you connected.

 

Another other idea, there is a Talend Exchange component named tSharepointFile available for download.  I don't know if it works with later versions of Talend, but it may be worth a try if nothing else works.

Anonymous
Not applicable
Author

Thanks very much for the info, I will try all options, However I cannot see the component in 'Exchange' could this be due to the version of TOS I am using 6.3?