You definitely need to upgrade your WinSCP. Urgently.
- martin
> 2021-05-25 13:13:28.895 Script: put *.bak -filemask=>2D
. 2021-05-25 13:13:28.895 Script: Failed
> 2021-05-25 13:13:28.895 Script: exit
. 2021-05-25 13:13:28.895 Closing connection.
. 2021-05-25 13:13:28.895 Sending special code: 12
. 2021-05-25 13:13:28.895 Sent EOF message
put *.bak -filemask=>2D
open sftp://(destination) -hostkey="ciphers"
option confirm off
lcd (location)
cd (remote location)
put *.bak>2D
exit
put *.bak>2D
File or folder '*.bak>2D' does not exist. ("System Error. Code: 123.
. 2021-05-25 09:42:11.751 The filename, directory name, or volume label syntax is incorrect")
* 2021-05-25 09:42:11.751 (EScpSkipFile) File or folder '*.bak>2D' does not exist.