One Star

Use a temporary file

Hello;
how can i use a temporary file to store data and later use this file.
I can create a temporary file with "TcreateTemporaryFile but i can't put a data into.
Please can you help me.
3 REPLIES
One Star

Re: Use a temporary file

First, you need to decide if you really want a temporary file or just have the regular output file and then the input file with the same name.
Some hints on how to use the temporary file can be found in 4347
Community Manager

Re: Use a temporary file

Hello romyos
Use the global variable: ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")). On any text field, press Ctrl+blank space, you will see a list of global variables. Please see the screesnhot.
Best regards
shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Use a temporary file

Hi;
Thank you very much.
Problem resolved