You still have to specify the source argument for the
You can use
Or in this simple case, you do not need to use
See https://winscp.net/eng/docs/scriptcommand_get
Though your attempt
get command.
You can use
*:
get -filemask=*.txt>yesterday *
Or in this simple case, you do not need to use
-filemask switch at all:
get *.txt>yesterday
See https://winscp.net/eng/docs/scriptcommand_get
Though your attempt
*30082019*.txt makes me curios what you actually want. Do you want to select files by their modification timestamp? That's what >yesterday does. Or by a timestamps contained in their filenames? What *30082019*.txt does.