[resolved] tFTPPut - use context in the filemask

One Star

[resolved] tFTPPut - use context in the filemask

Hi,
Can I use the contexts in the filemask for the file name?
I have the following name in the filemask and I get syntax errors.
+context.File+context.Yr+context.Mo+"_final.csv"
but if I don't use contexts, I'm fine with this "test201109_final.csv"
Thanks.

Accepted Solutions
Community Manager

Re: [resolved] tFTPPut - use context in the filemask

Hi
You are able to use the contexts, but there is a syntax errors in your expression, the correct one should be:
context.File+context.Yr+context.Mo+"_final.csv"
Good luck!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] tFTPPut - use context in the filemask

Hi
You are able to use the contexts, but there is a syntax errors in your expression, the correct one should be:
context.File+context.Yr+context.Mo+"_final.csv"
Good luck!
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] tFTPPut - use context in the filemask

Thank you very much Shong. I got it now :-)