Fetching the file from URL, only HTML data not the exact file

Four Stars

Fetching the file from URL, only HTML data not the exact file

Hello   

 

I am new to Talend. Currently, I have a link (just by on executing it download the excel file). I tried in Talend to give this link in tfilefetch and try to download the report to my local disk, but I can only get HTML data. Please help me here. 

Employee

Re: Fetching the file from URL, only HTML data not the exact file

Hi,

 

    tFileFetch can be used if the underlying protocol is one of the below (as shown in screen shot).

image.png

 

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 :-)

Highlighted
Employee

Re: Fetching the file from URL, only HTML data not the exact file

Hi,

 

    Please also verify @jlolling 's comments for another post below.

 

https://community.talend.com/t5/Design-and-Development/resolved-To-dowload-file-from-the-URL/td-p/82...

 

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 :-)

 

 

Four Stars

Re: Fetching the file from URL, only HTML data not the exact file

Hi,

 

Thanks for the Reply. 

I am using https. 

 

Employee

Re: Fetching the file from URL, only HTML data not the exact file

@Mishti_25 

 

Thanks for the update. If the details have helped you, could you please mark the topic as resolved? 

 

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 :-)

Four Stars

Re: Fetching the file from URL, only HTML data not the exact file

Hi,

 

It did not help me.. I have attached the screenshot in my previous reply, did you get a chance to look into it.

Employee

Re: Fetching the file from URL, only HTML data not the exact file

Hi,

 

    Instead of storing the data to cache, could you please write the data file to a destination directory?

 

    Once its there, you can read the data using tfileinputdelimited component.

 

     Please refer the details specified in the sample scenario below.

 

https://help.talend.com/reader/jomWd_GKqAmTZviwG_oxHQ/~HQ4YeJdLXGJJ8KC1natJw

 

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 :-)

Four Stars

Re: Fetching the file from URL, only HTML data not the exact file

I have tried that also but did not work. I referred to the same scenario.

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 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog