Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm using Talend Studio.
In the tFTPGet component properties, when you pass the mouse over the "local directory" field, you can see the message "the variable associated with this parameter is: _LOCALDIR_"
I would like to retrieve the contents of this variable to use elsewhere in the job and perhaps in a subjob.
Unfortunately, this variable is not described in the online help for the tFTPGet component which only has global variables.
Could someone help me and explain me how I can retrieve the value of this variable?
If not, is it possible to set the "local directory" field with a global variable that I could then use as I want?
THANKS.
Hello,
As a context variable name for the local folder on tftpget, the job is running from studio when you use "local_dir". (LOCALDIR = "/tmp")
You could define a context variable for your Job in context view
LOCALDIR = context.temp_dir
https://help.talend.com/r/en-US/8.0/studio-user-guide/contexts-and-variables
Feel free to let us know if it doesn't work.
Best regards
Sabrina
Hello,
As a context variable name for the local folder on tftpget, the job is running from studio when you use "local_dir". (LOCALDIR = "/tmp")
You could define a context variable for your Job in context view
LOCALDIR = context.temp_dir
https://help.talend.com/r/en-US/8.0/studio-user-guide/contexts-and-variables
Feel free to let us know if it doesn't work.
Best regards
Sabrina
A big thank you for this quick response.
I try these recommendations as soon as possible, and keep you informed of the consequences.
Hello,
Don't hesitate to post your issue here and feel free to let us know if there is any further help we can give.
Best regards
Sabrina
It works fine !
Thanks a lot for the tips.
Best regards.
Hello,
Great it helps and feel free to let us know if there is any further help we can give.
Best regards
Sabrina