[resolved] tFTPPut - Not able to use context in FileMask
I am trying to use a context variables in the FILEMASK of tFTPPut, but the job always fails saying
Exception in component tFTPPut_1
4: Failure
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2297)
at com.jcraft.jsch.ChannelSftp.rename(ChannelSftp.java:1490)
When I give the actual filenames, then the FTP succeeds. Can somebody please shed some light as to how I can resolve this?
context.CSV_FileName+".csv" is what I have in the filemask.
Can you expand the columns for the Filemask and New name in your screenshot? Looking at the component help, I believe the New name should be just a file name (no path) if you want to rename the transferred file. Otherwise, it should just be an empty String.
Can you expand the columns for the Filemask and New name in your screenshot? Looking at the component help, I believe the New name should be just a file name (no path) if you want to rename the transferred file. Otherwise, it should just be an empty String.