Four Stars

Find single file in .zip folder?

I have a job where I need to find a file. Depending on date, the file will either be in a specific folder or the file will be one of many files in a zipped folder stored in a different location. The name of the zipped folder changes depending on date and there will be multiple zipped folders with similar names in that location. As an example, sometimes the file will be in C:\user\files\ and sometimes it will be in C:\user\archive\files_20180501.zip

 

What is the best way to set up the job to find the file?

 

Thanks,

Cara 

1 ACCEPTED SOLUTION

Accepted Solutions
Six Stars

Re: Find single file in .zip folder?

 Using the tFileList component you have option there include subdirectories and in Filemask you can use the pattern which file you want to search. File Mask can be like "your file name*+context.date+".zip" and directory as your directory where to search.

2 REPLIES
Six Stars

Re: Find single file in .zip folder?

 Using the tFileList component you have option there include subdirectories and in Filemask you can use the pattern which file you want to search. File Mask can be like "your file name*+context.date+".zip" and directory as your directory where to search.

Four Stars

Re: Find single file in .zip folder?

Thanks, I'll try that!