Re: filemask with regular expression
This should do:
See https://winscp.net/eng/docs/file_mask#basic
$transferoptions.filemask="[0-9][0-9][0-9][0-9][0-9][0-9][0-9].jpg"
See https://winscp.net/eng/docs/file_mask#basic