Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Download specific files from a folder

Add your name constraint to the file mask.
get -filemask="*RET*>=yesterday" /RECEBIDOS C:\user\ .......
Jefferson Reis

Download specific files from a folder

I need to download specific files from a folder, files with the word RET in the description.
My automation downloads all the files from that SFTP, but I only need those with RET.

Files Ex:

R.008.L3904.PEFIN.RET.D220512.H210811.TXT
R.008.L3904.PEFIN.INF.D220518.H2330PB.TXT
R.008.L3904.PEFIN.RET.D220513.H215751.TXT
R.008.L3904.PEFIN.INF.D220521.H0007XH.TXT

get -filemask=">=yesterday" /RECEBIDOS C:\user\ .......