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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[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.
Labels (3)
1 Solution

Accepted Solutions
alevy
Specialist
Specialist

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.

View solution in original post

2 Replies
alevy
Specialist
Specialist

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.
Anonymous
Not applicable
Author

Yes that is what it was. Thanks Alevy.