[resolved] To dowload file from the URL

One Star

[resolved] To dowload file from the URL

Hi All,
Say i want to download a file from some site like example .com so i used tFileList component but i couldn't download the file.When i tried to download the file from broswe wheni selected the file it was asking the open with or save option so how can i handle this scenario in talend?
When i tried to download the files where it was not asking for open with or save option i could successfull downlaod the file with tFileList component.
Is there any other component to do this Scenario?
Thanks,
Lmit.

Accepted Solutions
Seventeen Stars

Re: [resolved] To dowload file from the URL

tFileList works only with the local filesystem.
Your scenario depends on the protocol you can use.
For the FTP or SCP protocol it exist components.
For http+html you will facing the problem, (unlike the others) there is no standardized way to present the file list. The list is actually a html file and you have to parse it to get all links (and filter every unrelated links out).
If you have all links you can fetch every file with the component tFileFetch.

All Replies
Seventeen Stars

Re: [resolved] To dowload file from the URL

tFileList works only with the local filesystem.
Your scenario depends on the protocol you can use.
For the FTP or SCP protocol it exist components.
For http+html you will facing the problem, (unlike the others) there is no standardized way to present the file list. The list is actually a html file and you have to parse it to get all links (and filter every unrelated links out).
If you have all links you can fetch every file with the component tFileFetch.
One Star

Re: [resolved] To dowload file from the URL

Hi Jlolling,
Thanks for the reply..I could get the files from the tFileFetch Component...Thanks once again
Thanks,
Lmit