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

fairudyn

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