Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
talendtester
Creator III
Creator III

wget - How can I direct the file to save to a different path?

I have a tSystem component which runs a wget command to get a file from a website.

 

Here is the command:

"cmd /c wget --user=userHere --password=passHere http://websiteHere/fileHere_2019-04-18.zip"

 

Currently the file is going to this path:

D:\TOS_DI-20181026_1147-V7.1.1\workspace\TALEND\poms\jobs\process\myJob\wgetfilepull_0.1\src\main\ext-resources\myFile_2019-04-18.zip

 

If I add -o pathHere/fileHere.zip the command notifications are written to this file, but the contents of the .zip file aren't put there.

 

How could I get the wget command to put the .zip file to this path?

D:/myFolder/myFile.zip

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi talendtester

-o output the logs to log file. Try to check 'Use home directory' box and select a folder which will be the default path.

 

Regards

Shong

 

 

View solution in original post

1 Reply
Anonymous
Not applicable

Hi talendtester

-o output the logs to log file. Try to check 'Use home directory' box and select a folder which will be the default path.

 

Regards

Shong