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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

tFTPGet does not get File

FTP component is not pulling the file from FTP site, if the file already exists in the local directory. It works otherwise. Anyone? I am using version 3.2.2
Labels (2)
2 Replies
_AnonymousUser
Specialist III
Specialist III
Author

I was trying to debug the issue and found the below code in tFTPGet component. Seems like if the file exists in local directory, FTP component explicitly does not pull the file from the server. I think, we should have a overwrite check box, when checked should override the file in the local directory if available.
if (!localFile.exists()) {
ftpClient.get(localFileName, remoteFileName);
msg_tFTPGet_1.add("file download successfully.");
globalMap.put("tFTPGet_1_CURRENT_STATUS",
"File transfer OK.");
} else {
msg_tFTPGet_1.add("file exit transmission.");
globalMap.put("tFTPGet_1_CURRENT_STATUS",
"No file transfered.");
}
Anonymous
Not applicable

Hello
The check box 'overwrite file' already exists on version 3.2.2.
Best regards
Shong