Upload file into sharepoint

Four Stars

Upload file into sharepoint

Hi,
I need to load CSV file into sharepoint.
I used tFileFetch component and getting the below error.
   Exception in component tFileFetch_1
   java.lang.Exception: Method failed: HTTP/1.1 302 Found
Can you please let me know why am I getting this error. And suggest me if there are any better ways to upload a file into share point.
Thanks,
Jayachandra
Moderator

Re: Upload file into sharepoint

Hi,
Have you tried to use thttprequest component to see if it words?
Here is a related forum:https://www.talendforge.org/forum/viewtopic.php?id=45208
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Upload file into sharepoint

Hi,
I have seen tHttprequest component.
URI - share point link
Method - POST
Post parameters from file - ??
Headers - ??
Need authentication - User  and Password
Can you please tell me where I can provide my file with path?
Can you please help me what are the parameters I need to provide to upload a csv file into share point using tHttpRequest component.
Thanks and Regards
Jayachandra