Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
BI_Dev
Creator II
Creator II

FTP/SFTP Web connector

Is there a way to specify date variable (today's date) while downloading files from SFTP ?

I have the SFTP connector setup, but SFTP has so many files with date stamps...only want to download file with today's date stamp in it.

 

BI_Dev_0-1675884964898.png

 

Thank you much.

 

Labels (2)
5 Replies
J_Lindberg
Support
Support

Hello @BI_Dev ,

I'm not sure if this question is related to the product Qlik Application Automation, but if it is, then you could use the block "List Files on SFTP" and include a condition block to see if the file name contains the current date. 

Sonja_Bauernfeind
Digital Support
Digital Support

Hello, @p_verkooijen and @BI_Dev I have moved this over to the Connectivity and Data Prep forum for the time being, but will ask our moderators if we intend to open a WebConnector-specific forum.

All the best,
Sonja 

Don't forget to Like posts and use the "Accept as Solution" button on content that answered your question! Thanks 🙂
p_verkooijen
Partner - Specialist
Partner - Specialist

@BI_Dev  use (S)FTPListFilesAndFolders, determine the file you want to download.
Then use FTPDownload to download this file

You could also use wildcards in the FTPDownload to determine the possible files to download.

See https://help.qlik.com/en-US/connectors/Subsystems/Web_Connectors_help/Content/Connectors_QWC/Data-So...

BI_Dev
Creator II
Creator II
Author

Thank you @p_verkooijen ...wondeing if we can use date function like date'(today())'as the file changes daily with regards to date.

p_verkooijen
Partner - Specialist
Partner - Specialist

@BI_Dev  no, you need to use FTPListFilesAndFolders to see what files are available and filter the response to the relevant files to be downloaded using FTPDownload.