Upload file with specific filename
Hi,
I'd like to ask if I have for example a list 5 of files in local directory but i only wish to upload the latest 2 files (Retail001 and Points003) How do I put a mask on the winscp script
Eg.
Retail001.txt
Customer009.txt
Margin001.txt
Stores005.txt
Points003.txt
I generated this script below. It connects but noting was uploaded
lcd C:\Users\Fai\Desktop\Test
cd /
put -filemask="Retail001; Points003; <1D" Customer009.txt
exit
I'd like to ask if I have for example a list 5 of files in local directory but i only wish to upload the latest 2 files (Retail001 and Points003) How do I put a mask on the winscp script
Eg.
Retail001.txt
Customer009.txt
Margin001.txt
Stores005.txt
Points003.txt
I generated this script below. It connects but noting was uploaded
lcd C:\Users\Fai\Desktop\Test
cd /
put -filemask="Retail001; Points003; <1D" Customer009.txt
exit