Synchronizing files to remote directory based on file name
Hello,
I would like WinSCP to go through all the folders beneath the Lot Files directory and copy any file it finds with a name starting with 'tr_'. Can this be done? I tried adding the following -filemask to the below synchronize command but it didn't work: -filemask="tr_*"
synchronize remote "R:\Lot Files\" /productInfo/
Also, is it possible for WinSCP to copy any files it finds beginning with 'tr_' directly into the /productInfo/ folder without creating an subfolders?[/code]
I would like WinSCP to go through all the folders beneath the Lot Files directory and copy any file it finds with a name starting with 'tr_'. Can this be done? I tried adding the following -filemask to the below synchronize command but it didn't work: -filemask="tr_*"
synchronize remote "R:\Lot Files\" /productInfo/
Also, is it possible for WinSCP to copy any files it finds beginning with 'tr_' directly into the /productInfo/ folder without creating an subfolders?[/code]