Upload files younger than 2 days
Hi, I want to upload .bak files younger than 2 days to another location. When specifying exact name of file it uploads but when I use filemask, it fails.
Is this line right?
The log returns this, so probably the syntax is wrong, i tried many options but nothing worked.
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.