[resolved] running wget in Talend

One Star

[resolved] running wget in Talend

Hi
I need to run wget from talend to make a request to a rest API, I can't use tRest component because I´ve problems with the authenticatons. I'm trying to use wget throught tSystem component but the problem is that Talend don't allow me to use quotes inside the command in the components settings. Can anybody provided me an example of it?
Thanks&Regards
Ivan

Accepted Solutions
Community Manager

Re: [resolved] running wget in Talend

Hi Ivan
Try to escape the quotes, for example:
"cmd /c \"your command\""
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] running wget in Talend

Hi Ivan
Try to escape the quotes, for example:
"cmd /c \"your command\""
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] running wget in Talend

It works OK¡¡ Thanks¡
One Star

Re: [resolved] running wget in Talend

Hi,
Would you mind sharing the exact wget command statement you used to download a file?
Thanks
One Star

Re: [resolved] running wget in Talend

I am getting the error :
'wget' is not recognized as an internal or external command,
operable program or batch file.
Can you help me out, thanks!