The specified wildcard character pattern is not valid
If there is
No problem with the other regex characters:
[ character in the filename, the following error is generated for Receive-WinSCPItem, Send-WinSCPItem commands under Windows:
Under Windows, theThe specified wildcard character pattern is not valid: file[name.txt
[ character is legal in the filename.
No problem with the other regex characters:
,+^$(){}]