Re: Help getting filemask correct for rm command
No, it's not possible. But It's not difficult to code this in more powerful language, like PowerShell, with use of WinSCP .NET assembly.
https://winscp.net/eng/docs/library_powershell
https://winscp.net/eng/docs/library_powershell