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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFTPPut Dynamic Files Using Global Variable

Hello,

 

I'm trying to put a ZIP file in a FTP server. The ZIP however is generated in an earlier SubJob, which means its name is dynamic.

 

I now want to put the said ZIP file in a FTP server. I'm trying to use global variable in the File Mask field, but I'm getting this compilation error:

0683p000009LtK8.jpg

 

Here's my tFTPPut's config:

0683p000009Lt92.jpg

 

Earlier in my job, here's how I'm initialising my global variable for zipToTransfer:

 

0683p000009LtYS.jpg

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Solved it. Just needed to cast the global map to String in the file mask like so: (String) globalMap.get("zipToTransfer")

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Solved it. Just needed to cast the global map to String in the file mask like so: (String) globalMap.get("zipToTransfer")