Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
joe86
Contributor

Upload a file to Weblink

Hi All,

 

Greetings!

 

I want to upload a file to a link. The file can be of type like Text/CSV/SpreadSheet.

The link is a customer link as below (sample):

https://customername.sharefile.com/r-r773a1b7922e44564cca

 

When we open this link, we can manually upload the file from our local desktop.

I tried the Talend Component tFileFetch and i believe this is to download a file from a web link to our local and the reverse will not happen.

Can some one please help me on this? 

Thanks in advance! 0683p000009MACn.png

Labels (2)
10 Replies
joe86
Contributor
Author

any inputs, please????

Anonymous
Not applicable

@joe86 

 

Did you check the below link?

 

https://community.talend.com/t5/Design-and-Development/resolved-POSTing-a-file-to-a-website/td-p/107...

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

joe86
Contributor
Author

Not sure if i have gone through this. But I was not aware or of this tHttpRequest component. Will work on this and see if it fulfills my need. Also will have to check if i can share a file or just the content of the file to a given URL. as per the example in Talend, they are sharing a parameter. Will work and see if this fits 0683p000009MACn.png
Anonymous
Not applicable

Perfect...

 

Try the options outlined in the post and it would be great to give a screen shot with short description once you arrive at the solution. It will help others in Talend community as a point of reference.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

joe86
Contributor
Author

@nthampi , @xdshi , @TRF , @vapukov , @manodwhb 

I had no luck in this. I believe tHttpRequest works only for JSoN format. I tried tFileFetch (using Upload option in Advanced settings) and no files got updated. I understand that i have made mistake in the type/content of the file that i am uploading. But not sure how to correct it. PFB my screenshots:

tFileFetch:

0683p000009M2Fm.png

0683p000009M3UM.png

0683p000009M3Ub.png

 

tHttpRequest:

0683p000009M3Ug.png

0683p000009M3Uq.png

 

0683p000009M3V0.png

 

The file that i wanted to upload has some random text inside it. The actual file will have the report in Excel/CSV format.

I wanted to upload the file to that given web link.

have looped in few folks, if anyone can share their thoughts.

 

Thanks in Advance 0683p000009MACn.png

joe86
Contributor
Author

Any inputs please??

Anonymous
Not applicable

@joe86 

 

Hi,

 

    I have not worked in this area of Talend in depth. Let us get advice of @rhall 

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable

I don't think this is going to work. The URL specified is that of a webpage, not an upload URL or a webservice. It seems to work by some sort of form mechanism within the page and the send button triggers some javascript (maybe) to upload the file selected within the page. You need to find out how this mechanism works and the endpoints that are used. 

joe86
Contributor
Author

@rhall 

Below attached is the landing page of the link provided by me.

Capture.JPG

I am not sure how its works in the background of this "upload" button.

Is there any way we can upload the file to this page/link??