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

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download